diff --git a/DNN Platform/Modules/ResourceManager/Components/Common/Utils.cs b/DNN Platform/Modules/ResourceManager/Components/Common/Utils.cs index e1f3fdf5d33..cc661230b69 100644 --- a/DNN Platform/Modules/ResourceManager/Components/Common/Utils.cs +++ b/DNN Platform/Modules/ResourceManager/Components/Common/Utils.cs @@ -1,18 +1,29 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System; using System.ComponentModel; -using System.Reflection; using DotNetNuke.Services.FileSystem; namespace Dnn.Modules.ResourceManager.Components.Common { public class Utils { - public static string GetEnumDescription(Enum clickBehaviour) + /// + /// Obtains a human friendly description from an enum value using the + /// attribute to get a proper name + /// + /// The enum value to lookup + /// The specified description attribute name or the value of the enum as a string + public static string GetEnumDescription(Enum enumValue) { - FieldInfo fi = clickBehaviour.GetType().GetField(clickBehaviour.ToString()); - DescriptionAttribute[] attributes = (DescriptionAttribute[])fi.GetCustomAttributes(typeof(DescriptionAttribute), false); - - return attributes[0].Description; + var fi = enumValue.GetType().GetField(enumValue.ToString()); + var descriptionAttributes = + (DescriptionAttribute[]) fi.GetCustomAttributes(typeof(DescriptionAttribute), false); + if (descriptionAttributes.Length > 0) + return descriptionAttributes[0].Description; + return enumValue.ToString(); } public static int GetFolderGroupId(int folderId) @@ -20,20 +31,13 @@ public static int GetFolderGroupId(int folderId) var folder = FolderManager.Instance.GetFolder(folderId); var folderPath = folder.DisplayPath; - if (!folderPath.StartsWith(Constants.GroupFolderPathStart)) - { - return -1; - } + if (!folderPath.StartsWith(Constants.GroupFolderPathStart)) return -1; var prefixLength = Constants.GroupFolderPathStart.Length; var folderGroupIdString = folderPath.Substring(prefixLength); folderGroupIdString = folderGroupIdString.Substring(0, folderGroupIdString.IndexOf("/")); - int folderGroupId; - if (!int.TryParse(folderGroupIdString, out folderGroupId)) - { - return -1; - } + if (!int.TryParse(folderGroupIdString, out var folderGroupId)) return -1; return folderGroupId; } } diff --git a/DNN Platform/Modules/ResourceManager/Components/Constants.cs b/DNN Platform/Modules/ResourceManager/Components/Constants.cs index dfd19ba4957..9bd7c295446 100644 --- a/DNN Platform/Modules/ResourceManager/Components/Constants.cs +++ b/DNN Platform/Modules/ResourceManager/Components/Constants.cs @@ -1,14 +1,6 @@ -/* -' Copyright (c) 2017 DNN Software, Inc. -' All rights reserved. -' -' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -' DEALINGS IN THE SOFTWARE. -' -*/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information using System; using System.ComponentModel; @@ -43,7 +35,6 @@ internal class Constants #region Localization internal const string LocalizationDataCacheKey = "LocalizationLocTable:{0}:{1}"; - internal const string LocalizationDataModifiedDateCacheKey = "LocalizationDataModifiedDate:{0}"; public const string GroupIconCantBeDeletedKey = "GroupIconCantBeDeleted.Error"; public const string UserHasNoPermissionToDownloadKey = "UserHasNoPermissionToDownload.Error"; @@ -55,12 +46,12 @@ internal class Constants #region Module settings - public const string AddFileContentType = "File"; public const string HomeFolderSettingName = "RM_HomeFolder"; public const string ModeSettingName = "RM_Mode"; public const int ItemsPerPage = 20; public const int ItemWidth = 176; + public enum ModuleModes { [Description("Normal")] diff --git a/DNN Platform/Modules/ResourceManager/Components/GroupManager.cs b/DNN Platform/Modules/ResourceManager/Components/GroupManager.cs index fd31db42206..fd5a30514be 100644 --- a/DNN Platform/Modules/ResourceManager/Components/GroupManager.cs +++ b/DNN Platform/Modules/ResourceManager/Components/GroupManager.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System; using DotNetNuke.Common; using DotNetNuke.Framework; using DotNetNuke.Services.FileSystem; diff --git a/DNN Platform/Modules/ResourceManager/Components/IGroupManager.cs b/DNN Platform/Modules/ResourceManager/Components/IGroupManager.cs index ee5c03a8041..148c0e9dd5d 100644 --- a/DNN Platform/Modules/ResourceManager/Components/IGroupManager.cs +++ b/DNN Platform/Modules/ResourceManager/Components/IGroupManager.cs @@ -1,4 +1,8 @@ -using DotNetNuke.Services.FileSystem; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using DotNetNuke.Services.FileSystem; namespace Dnn.Modules.ResourceManager.Components { diff --git a/DNN Platform/Modules/ResourceManager/Components/IItemsManager.cs b/DNN Platform/Modules/ResourceManager/Components/IItemsManager.cs index d79d91bc372..373ed8d95a4 100644 --- a/DNN Platform/Modules/ResourceManager/Components/IItemsManager.cs +++ b/DNN Platform/Modules/ResourceManager/Components/IItemsManager.cs @@ -1,5 +1,8 @@ -using System.IO; -using DotNetNuke.Entities.Modules; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System.IO; using DotNetNuke.Services.Assets; using DotNetNuke.Services.FileSystem; using Dnn.Modules.ResourceManager.Services.Dto; diff --git a/DNN Platform/Modules/ResourceManager/Components/ILocalizationController.cs b/DNN Platform/Modules/ResourceManager/Components/ILocalizationController.cs index 980cabd7f5b..835c6617f0a 100644 --- a/DNN Platform/Modules/ResourceManager/Components/ILocalizationController.cs +++ b/DNN Platform/Modules/ResourceManager/Components/ILocalizationController.cs @@ -1,11 +1,7 @@ -#region Copyright -// DotNetNuke® - http://www.dotnetnuke.com -// Copyright (c) 2002-2018 -// by DotNetNuke Corporation -// All Rights Reserved -#endregion +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information -using System; using System.Collections.Generic; using Dnn.Modules.ResourceManager.Components.Models; diff --git a/DNN Platform/Modules/ResourceManager/Components/IPermissionsManager.cs b/DNN Platform/Modules/ResourceManager/Components/IPermissionsManager.cs index 9c6181aeda5..f81c5e551a8 100644 --- a/DNN Platform/Modules/ResourceManager/Components/IPermissionsManager.cs +++ b/DNN Platform/Modules/ResourceManager/Components/IPermissionsManager.cs @@ -1,4 +1,7 @@ - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + namespace Dnn.Modules.ResourceManager.Components { /// diff --git a/DNN Platform/Modules/ResourceManager/Components/ISearchController.cs b/DNN Platform/Modules/ResourceManager/Components/ISearchController.cs index 2e08c3c1c75..b45f7e5f8b5 100644 --- a/DNN Platform/Modules/ResourceManager/Components/ISearchController.cs +++ b/DNN Platform/Modules/ResourceManager/Components/ISearchController.cs @@ -1,14 +1,9 @@ -#region Copyright -// DotNetNuke® - http://www.dotnetnuke.com -// Copyright (c) 2002-2018 -// by DotNetNuke Corporation -// All Rights Reserved -#endregion +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information -using System; using System.Collections.Generic; using DotNetNuke.Services.FileSystem; -using DotNetNuke.Services.Search.Entities; namespace Dnn.Modules.ResourceManager.Components { diff --git a/DNN Platform/Modules/ResourceManager/Components/IThumbnailsManager.cs b/DNN Platform/Modules/ResourceManager/Components/IThumbnailsManager.cs index 95590d3d8a6..7fd8987d454 100644 --- a/DNN Platform/Modules/ResourceManager/Components/IThumbnailsManager.cs +++ b/DNN Platform/Modules/ResourceManager/Components/IThumbnailsManager.cs @@ -1,4 +1,8 @@ -using System.Drawing; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System.Drawing; using DotNetNuke.Services.FileSystem; using Dnn.Modules.ResourceManager.Components.Models; diff --git a/DNN Platform/Modules/ResourceManager/Components/ItemsManager.cs b/DNN Platform/Modules/ResourceManager/Components/ItemsManager.cs index 5afea2ff218..56fbcaf8b10 100644 --- a/DNN Platform/Modules/ResourceManager/Components/ItemsManager.cs +++ b/DNN Platform/Modules/ResourceManager/Components/ItemsManager.cs @@ -1,10 +1,13 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System; using System.Collections.Generic; using System.IO; using System.Linq; using DotNetNuke.Entities; using DotNetNuke.Entities.Content; -using DotNetNuke.Entities.Modules; using DotNetNuke.Entities.Portals; using DotNetNuke.Entities.Users; using DotNetNuke.Framework; @@ -22,8 +25,6 @@ namespace Dnn.Modules.ResourceManager.Components { public class ItemsManager : ServiceLocator, IItemsManager { - #region Members - private const int MaxDescriptionLength = 500; private readonly IContentController _contentController; private readonly IRoleController _roleController; @@ -31,9 +32,6 @@ public class ItemsManager : ServiceLocator, IItemsM private readonly IAssetManager _assetManager; private readonly IPermissionsManager _permissionsManager; - #endregion - - #region Constructors public ItemsManager() { @@ -44,8 +42,6 @@ public ItemsManager() _permissionsManager = PermissionsManager.Instance; } - #endregion - public ContentPage GetFolderContent(int folderId, int startIndex, int numItems, string sorting, int moduleMode) { var noPermissionMessage = Localization.GetExceptionMessage("UserHasNoPermissionToBrowseFolder", @@ -128,17 +124,13 @@ public void SaveFileDetails(IFileInfo file, FileDetailsRequest fileDetails) public void SaveFolderDetails(IFolderInfo folder, FolderDetailsRequest folderDetails) { _assetManager.RenameFolder(folderDetails.FolderId, folderDetails.FolderName); - - var currentUserInfo = UserController.Instance.GetCurrentUserInfo(); } public void DeleteFile(int fileId, int moduleMode, int groupId) { var file = FileManager.Instance.GetFile(fileId); if (file == null) - { - throw new NotFoundException("File doesn't exist."); - } + return; if (moduleMode == (int) Constants.ModuleModes.Group && IsGroupIcon(file)) { @@ -157,9 +149,7 @@ public void DeleteFolder(int folderId, bool unlinkAllowedStatus, int moduleMode) { var folder = FolderManager.Instance.GetFolder(folderId); if (folder == null) - { - throw new NotFoundException("Folder doesn't exist."); - } + return; if (!_permissionsManager.HasDeletePermission(moduleMode, folderId)) { @@ -185,27 +175,6 @@ private bool IsGroupIcon(IFileInfo file) return role?.IconFile?.Substring(7) == file.FileId.ToString(); } - private ContentItem CreateFileContentItem(string contentType) - { - var typeController = new ContentTypeController(); - var contentTypeFile = (from t in typeController.GetContentTypes() where t.ContentType == contentType select t).SingleOrDefault(); - - if (contentTypeFile == null) - { - contentTypeFile = new ContentType { ContentType = contentType }; - contentTypeFile.ContentTypeId = typeController.AddContentType(contentTypeFile); - } - - var objContent = new ContentItem - { - ContentTypeId = contentTypeFile.ContentTypeId, - Indexed = false, - }; - - objContent.ContentItemId = _contentController.AddContentItem(objContent); - return objContent; - } - #endregion #region Service Locator diff --git a/DNN Platform/Modules/ResourceManager/Components/LocalizationController.cs b/DNN Platform/Modules/ResourceManager/Components/LocalizationController.cs index d33217c4a3a..c756c8c2e11 100644 --- a/DNN Platform/Modules/ResourceManager/Components/LocalizationController.cs +++ b/DNN Platform/Modules/ResourceManager/Components/LocalizationController.cs @@ -1,9 +1,6 @@ -#region Copyright -// DotNetNuke® - http://www.dotnetnuke.com -// Copyright (c) 2002-2018 -// by DotNetNuke Corporation -// All Rights Reserved -#endregion +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information using System; using System.Collections.Generic; @@ -12,7 +9,6 @@ using System.Threading; using System.Web.Caching; using System.Xml; -using DotNetNuke.Application; using DotNetNuke.Common; using DotNetNuke.Common.Utilities; using DotNetNuke.Framework; @@ -23,14 +19,16 @@ namespace Dnn.Modules.ResourceManager.Components { public class LocalizationController : ServiceLocator, ILocalizationController { - #region Overrides of ServiceLocator + /// + /// Provides a method to override Service Locator's GetFactory method + /// + /// protected override Func GetFactory() { return () => new LocalizationControllerImpl(); } - #endregion public string CultureName => Instance.CultureName; @@ -48,8 +46,8 @@ public long GetResxTimeStamp(string resourceFile, Localization localization) class LocalizationControllerImpl : ILocalizationController { - public static readonly TimeSpan FiveMinutes = TimeSpan.FromMinutes(5); - public static readonly TimeSpan OneHour = TimeSpan.FromHours(1); + private static readonly TimeSpan FiveMinutes = TimeSpan.FromMinutes(5); + private static readonly TimeSpan OneHour = TimeSpan.FromHours(1); public string CultureName { diff --git a/DNN Platform/Modules/ResourceManager/Components/Models/Localization.cs b/DNN Platform/Modules/ResourceManager/Components/Models/Localization.cs index 573263a5c7f..9bc1b2c02c4 100644 --- a/DNN Platform/Modules/ResourceManager/Components/Models/Localization.cs +++ b/DNN Platform/Modules/ResourceManager/Components/Models/Localization.cs @@ -1,10 +1,6 @@ -#region Copyright -// DotNetNuke® - http://www.dotnetnuke.com -// Copyright (c) 2002-2018 -// by DotNetNuke Corporation -// All Rights Reserved -#endregion - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information namespace Dnn.Modules.ResourceManager.Components.Models { diff --git a/DNN Platform/Modules/ResourceManager/Components/Models/ThumbnailContent.cs b/DNN Platform/Modules/ResourceManager/Components/Models/ThumbnailContent.cs index 26cab74dc6e..4b8eb171576 100644 --- a/DNN Platform/Modules/ResourceManager/Components/Models/ThumbnailContent.cs +++ b/DNN Platform/Modules/ResourceManager/Components/Models/ThumbnailContent.cs @@ -1,4 +1,8 @@ -using System.Net.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System.Net.Http; namespace Dnn.Modules.ResourceManager.Components.Models { diff --git a/DNN Platform/Modules/ResourceManager/Components/PermissionsManager.cs b/DNN Platform/Modules/ResourceManager/Components/PermissionsManager.cs index 824d95e1ab9..66d7934e374 100644 --- a/DNN Platform/Modules/ResourceManager/Components/PermissionsManager.cs +++ b/DNN Platform/Modules/ResourceManager/Components/PermissionsManager.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System; using DotNetNuke.Entities.Portals; using DotNetNuke.Entities.Users; using DotNetNuke.Framework; @@ -11,16 +15,11 @@ namespace Dnn.Modules.ResourceManager.Components { public class PermissionsManager : ServiceLocator, IPermissionsManager { - #region Private Members private readonly IFolderManager _folderManager; private readonly IRoleController _roleController; private readonly IUserController _userController; - #endregion - - #region Constructors - public PermissionsManager() { _folderManager = FolderManager.Instance; @@ -28,7 +27,6 @@ public PermissionsManager() _userController = UserController.Instance; } - #endregion public bool HasFolderContentPermission(int folderId, int moduleMode) { diff --git a/DNN Platform/Modules/ResourceManager/Components/SearchController.cs b/DNN Platform/Modules/ResourceManager/Components/SearchController.cs index 2d3e67691a7..3a66f90ffc6 100644 --- a/DNN Platform/Modules/ResourceManager/Components/SearchController.cs +++ b/DNN Platform/Modules/ResourceManager/Components/SearchController.cs @@ -1,31 +1,20 @@ -#region Copyright - -// DotNetNuke® - http://www.dotnetnuke.com -// Copyright (c) 2002-2018 -// by DotNetNuke Corporation -// All Rights Reserved - -#endregion +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using System.Linq; using Dnn.Modules.ResourceManager.Exceptions; -using DotNetNuke.Common.Utilities; using DotNetNuke.ComponentModel; -using DotNetNuke.Entities.Portals; using DotNetNuke.Services.Assets; using DotNetNuke.Services.FileSystem; using DotNetNuke.Services.Localization; -using DotNetNuke.Services.Search.Entities; -using DotNetNuke.Services.Search.Internals; namespace Dnn.Modules.ResourceManager.Components { public class SearchController : ComponentBase, ISearchController { - private const string SearchSourceKey = "SearchSource"; - private const string SearchSourceName = "DigitalAssets"; private readonly IPermissionsManager _permissionsManager; public SearchController() @@ -43,12 +32,11 @@ public IList SearchFolderContent(int moduleId, IFolderInfo folder, bo throw new FolderPermissionNotMetException(noPermissionMessage); } - string cleanedKeywords; search = (search ?? string.Empty).Trim(); // Lucene does not support wildcards as the beginning of the search // For file names we can remove any existing wildcard at the beginning - cleanedKeywords = TrimStartWildCards(search); + var cleanedKeywords = TrimStartWildCards(search); var files = FolderManager.Instance.SearchFiles(folder, cleanedKeywords, recursive); var sortProperties = SortProperties.Parse(sorting); diff --git a/DNN Platform/Modules/ResourceManager/Components/SettingsManager.cs b/DNN Platform/Modules/ResourceManager/Components/SettingsManager.cs index 08f656f840a..c8dd340c300 100644 --- a/DNN Platform/Modules/ResourceManager/Components/SettingsManager.cs +++ b/DNN Platform/Modules/ResourceManager/Components/SettingsManager.cs @@ -1,4 +1,8 @@ -using System.Collections; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System.Collections; using DotNetNuke.Entities.Modules; using DotNetNuke.Entities.Portals; using DotNetNuke.Entities.Users; @@ -10,26 +14,18 @@ namespace Dnn.Modules.ResourceManager.Components { public class SettingsManager { - #region Private Properties - private readonly Hashtable _moduleSettingsDictionary; private readonly int _groupId; - #endregion - - #region Public Properties - public int HomeFolderId { get; set; } public int Mode { get; set; } - #endregion public SettingsManager(int moduleId, int groupId) { _groupId = groupId; var moduleController = new ModuleController(); var module = moduleController.GetModule(moduleId); - _moduleSettingsDictionary = module.ModuleSettings; LoadSettings(); diff --git a/DNN Platform/Modules/ResourceManager/Components/ThumbnailsManager.cs b/DNN Platform/Modules/ResourceManager/Components/ThumbnailsManager.cs index 1c5582c558c..b8536c03b76 100644 --- a/DNN Platform/Modules/ResourceManager/Components/ThumbnailsManager.cs +++ b/DNN Platform/Modules/ResourceManager/Components/ThumbnailsManager.cs @@ -1,9 +1,12 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Net.Http; -using DotNetNuke.Entities.Modules; using DotNetNuke.Entities.Portals; using DotNetNuke.Framework; using DotNetNuke.Services.FileSystem; @@ -13,23 +16,16 @@ namespace Dnn.Modules.ResourceManager.Components { public class ThumbnailsManager : ServiceLocator, IThumbnailsManager { - #region Members - private const int DefaultMaxWidth = 320; private const int DefaultMaxHeight = 240; private readonly IFileManager _fileManager; - #endregion - - #region Constructors public ThumbnailsManager() { _fileManager = FileManager.Instance; } - #endregion - public string DefaultContentType => "image/png"; @@ -125,6 +121,7 @@ public ThumbnailContent GetThumbnailContent(IFileInfo item, int width, int heigh #region Private Methods + //TODO: Correct below to proper US English private int GetMinorSizeValue(int thumbnailMayorSize, int imageMayorSize, int imageMinorSize) { if (thumbnailMayorSize == imageMayorSize) diff --git a/DNN Platform/Modules/ResourceManager/Exceptions/FolderPermissionNotMetException.cs b/DNN Platform/Modules/ResourceManager/Exceptions/FolderPermissionNotMetException.cs index 005b38dd545..52d19b0f911 100644 --- a/DNN Platform/Modules/ResourceManager/Exceptions/FolderPermissionNotMetException.cs +++ b/DNN Platform/Modules/ResourceManager/Exceptions/FolderPermissionNotMetException.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System; namespace Dnn.Modules.ResourceManager.Exceptions { diff --git a/DNN Platform/Modules/ResourceManager/Exceptions/ModeValidationException.cs b/DNN Platform/Modules/ResourceManager/Exceptions/ModeValidationException.cs index c1a901cb0ad..7bbba0db0e8 100644 --- a/DNN Platform/Modules/ResourceManager/Exceptions/ModeValidationException.cs +++ b/DNN Platform/Modules/ResourceManager/Exceptions/ModeValidationException.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System; namespace Dnn.Modules.ResourceManager.Exceptions { diff --git a/DNN Platform/Modules/ResourceManager/Exceptions/NotFoundException.cs b/DNN Platform/Modules/ResourceManager/Exceptions/NotFoundException.cs index 36fe6a9c1d5..f762b323446 100644 --- a/DNN Platform/Modules/ResourceManager/Exceptions/NotFoundException.cs +++ b/DNN Platform/Modules/ResourceManager/Exceptions/NotFoundException.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System; namespace Dnn.Modules.ResourceManager.Exceptions { diff --git a/DNN Platform/Modules/ResourceManager/Helpers/LocalizationHelper.cs b/DNN Platform/Modules/ResourceManager/Helpers/LocalizationHelper.cs index e459a177dd3..3856c46bb0a 100644 --- a/DNN Platform/Modules/ResourceManager/Helpers/LocalizationHelper.cs +++ b/DNN Platform/Modules/ResourceManager/Helpers/LocalizationHelper.cs @@ -1,4 +1,8 @@ -using DotNetNuke.Services.Localization; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using DotNetNuke.Services.Localization; using Dnn.Modules.ResourceManager.Components; namespace Dnn.Modules.ResourceManager.Helpers diff --git a/DNN Platform/Modules/ResourceManager/License.txt b/DNN Platform/Modules/ResourceManager/License.txt index 9b0fdd0e412..82b0ac4187f 100644 --- a/DNN Platform/Modules/ResourceManager/License.txt +++ b/DNN Platform/Modules/ResourceManager/License.txt @@ -1,21 +1,22 @@ -
-

License

-

- DNN Software, Inc. http://www.dnnsoftware.com
- Copyright (c) 2017
- by DNN Software, Inc.
-

-

- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - documentation files (the "Software"), to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - to permit persons to whom the Software is furnished to do so, subject to the following conditions: -

-

- The above copyright notice and this permission notice shall be included in all copies or substantial portions - of the Software. -

-

- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -

-
\ No newline at end of file +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors +All Rights Reserved + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/DNN Platform/Modules/ResourceManager/ReleaseNotes.txt b/DNN Platform/Modules/ResourceManager/ReleaseNotes.txt index 48775630b81..c328c3ddc6c 100644 --- a/DNN Platform/Modules/ResourceManager/ReleaseNotes.txt +++ b/DNN Platform/Modules/ResourceManager/ReleaseNotes.txt @@ -1,23 +1 @@ -

ResourceManager

-

- DNN Software, Inc.
- noreply@dnnsoftware.com
- http://www.dnnsoftware.com
-

-
-
-

About the ResourceManager

-

- Version CHANGEME

-

-

Description about version.

- -

Bug Fixes

-
    -
  • List
  • -
  • of
  • -
  • bug
  • -
  • fixes
  • -
- -
\ No newline at end of file +

Please see https://www.github.com/dnnsoftware for the complete release history.

\ No newline at end of file diff --git a/DNN Platform/Modules/ResourceManager/Scripts/resourceManager-bundle.js b/DNN Platform/Modules/ResourceManager/Scripts/resourceManager-bundle.js index 6c1c09b6fa5..c5337b0944e 100644 --- a/DNN Platform/Modules/ResourceManager/Scripts/resourceManager-bundle.js +++ b/DNN Platform/Modules/ResourceManager/Scripts/resourceManager-bundle.js @@ -1,10 +1,10 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,o){r.apply(this,[e,t,o].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}var t=n(1),r=e(t),o=n(20),i=n(9),a=n(282),s=e(a),l=n(269),u=e(l),c=n(245),p=e(c);n(211),n(197);var d=(0,s["default"])();u["default"].dispatch=d.dispatch,u["default"].render=function(e){(0,o.render)(r["default"].createElement(i.Provider,{store:d},r["default"].createElement(p["default"],null)),e)}}).call(this)}finally{}},function(e,t,n){"use strict";e.exports=n(316)},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){if(o(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,s,l],p=0;u=new Error(t.replace(/%s/g,function(){return c[p++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var o=function(e){};e.exports=r},function(e,t){"use strict";function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r1){for(var v=Array(m),g=0;g1){for(var b=Array(y),w=0;w1&&void 0!==arguments[1]&&arguments[1];return w["default"].getServiceRoot(t)+e}function o(e,t,n,o){return w["default"].get(r(x),{folderId:e,startIndex:t,numItems:n,sorting:o}).then(function(e){return e})}function i(e){var t=w["default"].getHeadersObject(),n=t.moduleId,o=t.tabId;return r(E)+"?forceDownload=true&fileId="+e+"&moduleId="+n+"&tabId="+o}function a(){return D?Promise.resolve(D):w["default"].get(r(O)).then(function(e){return D=e,e})}function s(e){return w["default"].post(r(S),e,{"Content-Type":"application/json"})}function l(e){return w["default"].post(r(C),{folderId:e},{"Content-Type":"application/json"})}function u(e){return w["default"].post(r(P),{fileId:e},{"Content-Type":"application/json"})}function c(e){return w["default"].get(r(_),{fileId:e})}function p(e){return w["default"].get(r(T),{folderId:e})}function d(e,t,n,o){var i=new FormData;i.append("postfile",e),t&&"string"==typeof t&&i.append("folder",t),n&&"boolean"==typeof n&&i.append("overwrite",n);var a=r(M,!0);return w["default"].postFile(a,i,o)}function f(e,t,n,o,i,a){return w["default"].get(r(I),{folderId:e,search:t,pageIndex:n,pageSize:o,sorting:i,culture:a}).then(function(e){return e})}function h(e){return location.protocol+"//"+location.hostname+(location.port?":"+location.port:"")+e}function m(e){return location.protocol+"//"+location.host+location.pathname+"?folderId="+e}function v(e){return e.isFolder?e.iconUrl:e.thumbnailAvailable?e.thumbnailUrl:e.iconUrl}function g(e){return w["default"].post(r(A),e,{"Content-Type":"application/json"})}function y(e){return w["default"].post(r(N),e,{"Content-Type":"application/json"})}Object.defineProperty(t,"__esModule",{value:!0});var b=n(57),w=e(b),x="Items/GetFolderContent",E="Items/Download",_="Items/GetFileDetails",T="Items/GetFolderDetails",O="Items/GetFolderMappings",S="Items/CreateNewFolder",C="Items/DeleteFolder",P="Items/DeleteFile",k="InternalServices/API/",M=k+"FileUpload/UploadFromLocal",I="Items/Search",A="Items/SaveFileDetails",N="Items/SaveFolderDetails",D=void 0;t["default"]={getContent:o,getDownloadUrl:i,loadFolderMappings:a,addFolder:s,deleteFolder:l,deleteFile:u,getFileDetails:c,getFolderDetails:p,uploadFile:d,searchFiles:f,getItemFullUrl:h,getFolderUrl:m,getIconUrl:v,saveFileDetails:g,saveFolderDetails:y}}).call(this)}finally{}},function(e,t,n){"use strict";var r=n(3),o=(n(2),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},l=function(e,t,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,e,t,n,r,o),a}return new i(e,t,n,r,o)},u=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.instancePool.length1)for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:null,n=e.numItems,r=e.sorting,o=e.currentFolderId,i=e.loadedItems,s=t||o,u=t?0:i;return function(e){return a["default"].getContent(s,u,n,r).then(function(t){return e({type:u?l["default"].MORE_CONTENT_LOADED:l["default"].CONTENT_LOADED,data:t})},function(t){return e({type:l["default"].LOAD_CONTENT_ERROR,data:t.data?t.data.message:null})})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(21),a=e(i),s=n(13),l=e(s),u=n(157),c=e(u),p={loadContent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n){var i=function(){return n(o(e,t))};n(r(i));var a=history.state?history.state.folderId:null;if(t&&a!==t&&t!==e.homeFolderId)history.pushState({folderId:t},null,"?folderId="+t);else if(t&&a!==t){var s=window.location.toString();if(s.indexOf("?")>0){var l=s.substring(0,s.indexOf("?"));history.pushState({folderId:t},null,l)}}}},deleteFolder:function(e,t){var n=t.currentFolderId;return function(i){var s=function(){return a["default"].deleteFolder(e).then(function(){return i(o(t,n))},function(e){return i({type:l["default"].DELETE_FOLDER_ERROR,data:e.data?e.data.message:null})})};i(r(s))}},deleteFile:function(e,t){var n=t.currentFolderId;return function(i){var s=function(){return a["default"].deleteFile(e).then(function(){return i(o(t,n))},function(e){return i({type:l["default"].DELETE_FILE_ERROR,data:e.data?e.data.message:null})})};i(r(s))}},downloadFile:function(e){return function(t){var n=a["default"].getDownloadUrl(e);window.open(n,"_blank"),t({type:l["default"].FILE_DOWNLOADED})}},copyFileUrlToClipboard:function(e){if(e.path){var t=a["default"].getItemFullUrl(e.path);return(0,c["default"])(t),{type:l["default"].URL_COPIED_TO_CLIPBOARD,data:t}}},changeSearchingValue:function(e){return{type:l["default"].CHANGE_SEARCH,data:e}},searchFiles:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.numItems,i=e.sorting,s=e.currentFolderId,u=e.loadedItems,c=s,p=n?Math.ceil(u/o)+1:1;return function(e){var s=function(){return a["default"].searchFiles(c,t,p,o,i,"").then(function(t){return e({type:n?l["default"].MORE_CONTENT_LOADED:l["default"].FILES_SEARCHED,data:t})},function(t){return e({type:l["default"].SEARCH_FILES_ERROR,data:t})})};e(r(s))}},changeSorting:function(e){return{type:l["default"].CHANGE_SORTING,data:e}}};t["default"]=p}).call(this)}finally{}},function(e,t,n){"use strict";var r=n(3),o=n(64),i=n(65),a=n(71),s=n(138),l=n(140),u=(n(2),{}),c=null,p=function(e,t){e&&(i.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},d=function(e){return p(e,!0)},f=function(e){return p(e,!1)},h=function(e){return"."+e._rootNodeID},m={injection:{injectEventPluginOrder:o.injectEventPluginOrder,injectEventPluginsByName:o.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?r("94",t,typeof n):void 0;var i=h(e),a=u[t]||(u[t]={});a[i]=n;var s=o.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=u[t],r=h(e);return n&&n[r]},deleteListener:function(e,t){var n=o.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=u[t];if(r){var i=h(e);delete r[i]}},deleteAllListeners:function(e){var t=h(e);for(var n in u)if(u.hasOwnProperty(n)&&u[n][t]){var r=o.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete u[n][t]}},extractEvents:function(e,t,n,r){for(var i,a=o.plugins,l=0;l4&&void 0!==arguments[4]&&arguments[4],s=n.numItems,u=n.sorting,p=n.folder?n.folder.folderId:n.homeFolderId;return function(n){var d=[];e.forEach(function(e){return d.push(c["default"].uploadFile(e,t,a,i.bind(null,e.name)).then(function(t){return r(n,e,a,t)},function(t){return n(o(e.name,t.message))}))}),Promise.all(d).then(function(){return c["default"].getContent(p,0,s,u)}).then(function(e){return n({type:l["default"].CONTENT_LOADED,data:e})})}},trackProgress:function(e,t){return function(n){return n({type:a["default"].UPDATE_PROGRESS,data:{fileName:e,percent:t.percent}})}},stopUpload:function(e){return f[e]=void 0,function(t){return t({type:a["default"].STOP_UPLOAD,data:e})}},fileSizeError:function(e,t){var n=d["default"].getString("FileSizeErrorMessage");return function(r){return r(o(e,e+n+t))}}};t["default"]=h}).call(this)}finally{}},function(e,t){"use strict";function n(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]="number"==typeof e[n]?e[n]:e[n].val);return t}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";var n={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0, -onMouseUpCapture:!0},r={getHostProps:function(e,t){if(!t.disabled)return t;var r={};for(var o in t)!n[o]&&t.hasOwnProperty(o)&&(r[o]=t[o]);return r}};e.exports=r},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=h++,d[e[v]]={}),d[e[v]]}var o,i=n(5),a=n(17),s=n(64),l=n(336),u=n(137),c=n(367),p=n(81),d={},f=!1,h=0,m={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),g=i({},l,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),i=s.registrationNameDependencies[e],l=a.topLevelTypes,u=0;u]/;e.exports=r},function(e,t,n){"use strict";var r,o=n(10),i=n(63),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,l=n(77),u=l(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=u},function(e,t){function n(e){return e&&e.__esModule?e:{"default":e}}e.exports=n},function(e,t,n){"use strict";var r=n(1),o=n(158);if("undefined"==typeof r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){"use strict";e.exports=n(161)},[391,172],function(e,t,n){"use strict";e.exports=n(178)},[391,187],function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a0?t[0].value:""}function r(t,n){var r={ModuleId:c,TabId:u,GroupId:p};n.headers&&l(r,n.headers);var o=e();o&&(r.RequestVerificationToken=o);var i=new Headers(r);return n=l(n,{credentials:"same-origin",headers:i}),fetch(t,n).then(a)}function o(t,r){var o=n(377),a=r.method,s=r.body,d=r.progressTracker,f={ModuleId:c,TabId:u,GroupId:p};r.headers&&l(f,r.headers);var h=e();return h&&(f.RequestVerificationToken=h),o(a,t).set(f).send(s).on("progress",d).then(function(e){return JSON.parse(e.text)},i)}function i(e){var t=new Error(e.status+" - An expected error has been received from the server.");throw t.code=e.status,t}function a(e){return e.status>=200&&e.status<300?e.json():e.json().then(function(t){var n=new Error;throw n.code=e.status,n.data=t,n},function(){var t=new Error(e.status+" - An expected error has been received from the server.");throw t.code=e.status,t})}function s(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:null;return t&&(e+=(e.indexOf("?")>0?"&":"?")+s(t)),r(e,{method:"GET"})},post:function(e,t,n){var o=null;if(n&&"multipart/form-data"===n["Content-Type"]){var i=new FormData;for(var a in t)i.append(a,t[a]);o=i,delete n["Content-Type"]}return r(e,{method:"POST",body:o||JSON.stringify(t),headers:n})},postFile:function(e,t,n){return o(e,{method:"POST",body:t,progressTracker:n})},put:function(e,t){return r(e,{method:"PUT",body:JSON.stringify(t)})},"delete":function(e,t){return r(e,{method:"DELETE",body:JSON.stringify(t)})},getHeadersObject:function(){var e={moduleId:c,tabId:u,groupId:p};return e}};t["default"]=h}).call(this)}finally{}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var o=n(198),i=r(o),a=i["default"],s=a.canUseDOM?window.HTMLElement:{};t.canUseDOM=a.canUseDOM,t["default"]=s},function(e,t){"use strict";function n(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=0);return t}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(0!==n[r])return!1;var o="number"==typeof t[r]?t[r]:t[r].val;if(e[r]!==o)return!1}return!0}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n,o,i,a,s){var l=-i*(t-o),u=-a*n,c=l+u,p=n+c*e,d=t+p*e;return Math.abs(p)-1?void 0:a("96",e),!u.plugins[n]){t.extractEvents?void 0:a("97",e),u.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)?void 0:a("98",i,e)}}}function o(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){u.registrationNameModules[e]?a("100",e):void 0,u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(3),s=(n(2),null),l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?a("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];l.hasOwnProperty(n)&&l[n]===o||(l[n]?a("102",n):void 0,l[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=u.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=u},function(e,t,n){"use strict";function r(e){return e===y.topMouseUp||e===y.topTouchEnd||e===y.topTouchCancel}function o(e){return e===y.topMouseMove||e===y.topTouchMove}function i(e){return e===y.topMouseDown||e===y.topTouchStart}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=b.getNodeFromInstance(r),t?v.invokeGuardedCallbackWithCatch(o,n,e):v.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);return n?n:null}var a=n(3),s=(n(23),n(32)),l=(n(14),n(16)),u=(n(2),n(4),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var o=i(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?a("122",t,o(e)):void 0}});e.exports=u},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function r(e){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";/** +"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,l=n(e),u=1;u1){for(var v=Array(m),g=0;g1){for(var b=Array(y),w=0;w1&&void 0!==arguments[1]&&arguments[1];return w["default"].getServiceRoot(t)+e}function o(e,t,n,o){return w["default"].get(r(x),{folderId:e,startIndex:t,numItems:n,sorting:o}).then(function(e){return e})}function i(e){var t=w["default"].getHeadersObject(),n=t.moduleId,o=t.tabId;return r(E)+"?forceDownload=true&fileId="+e+"&moduleId="+n+"&tabId="+o}function a(){return N?Promise.resolve(N):w["default"].get(r(T)).then(function(e){return N=e,e})}function s(e){return w["default"].post(r(S),e,{"Content-Type":"application/json"})}function l(e){return w["default"].post(r(C),{folderId:e},{"Content-Type":"application/json"})}function u(e){return w["default"].post(r(P),{fileId:e},{"Content-Type":"application/json"})}function c(e){return w["default"].get(r(_),{fileId:e})}function p(e){return w["default"].get(r(O),{folderId:e})}function d(e,t,n,o){var i=new FormData;i.append("postfile",e),t&&"string"==typeof t&&i.append("folder",t),n&&"boolean"==typeof n&&i.append("overwrite",n);var a=w["default"].getWhitelistObject(),s=a.extensionWhitelist,l=a.validationCode;i.append("filter",s),i.append("validationCode",l);var u=r(M,!0);return w["default"].postFile(u,i,o)}function f(e,t,n,o,i,a){return w["default"].get(r(I),{folderId:e,search:t,pageIndex:n,pageSize:o,sorting:i,culture:a}).then(function(e){return e})}function h(e){return location.protocol+"//"+location.hostname+(location.port?":"+location.port:"")+e}function m(e){return location.protocol+"//"+location.host+location.pathname+"?folderId="+e}function v(e){return e.isFolder?e.iconUrl:e.thumbnailAvailable?e.thumbnailUrl:e.iconUrl}function g(e){return w["default"].post(r(A),e,{"Content-Type":"application/json"})}function y(e){return w["default"].post(r(D),e,{"Content-Type":"application/json"})}Object.defineProperty(t,"__esModule",{value:!0});var b=n(41),w=e(b),x="Items/GetFolderContent",E="Items/Download",_="Items/GetFileDetails",O="Items/GetFolderDetails",T="Items/GetFolderMappings",S="Items/CreateNewFolder",C="Items/DeleteFolder",P="Items/DeleteFile",k="InternalServices/API/",M=k+"FileUpload/UploadFromLocal",I="Items/Search",A="Items/SaveFileDetails",D="Items/SaveFolderDetails",N=void 0;t["default"]={getContent:o,getDownloadUrl:i,loadFolderMappings:a,addFolder:s,deleteFolder:l,deleteFile:u,getFileDetails:c,getFolderDetails:p,uploadFile:d,searchFiles:f,getItemFullUrl:h,getFolderUrl:m,getIconUrl:v,saveFileDetails:g,saveFolderDetails:y}}).call(this)}finally{}},function(e,t,n){"use strict";var r=n(3),o=(n(2),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},l=function(e,t,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,e,t,n,r,o),a}return new i(e,t,n,r,o)},u=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.instancePool.length1)for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:null,n=e.numItems,r=e.sorting,o=e.currentFolderId,i=e.loadedItems,s=t||o,u=t?0:i;return function(e){return a["default"].getContent(s,u,n,r).then(function(t){return e({type:u?l["default"].MORE_CONTENT_LOADED:l["default"].CONTENT_LOADED,data:t})},function(t){return e({type:l["default"].LOAD_CONTENT_ERROR,data:t.data?t.data.message:null})})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(20),a=e(i),s=n(13),l=e(s),u=n(152),c=e(u),p={loadContent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n){var i=function(){return n(o(e,t))};n(r(i));var a=history.state?history.state.folderId:null;if(t&&a!==t&&t!==e.homeFolderId)history.pushState({folderId:t},null,"?folderId="+t);else if(t&&a!==t){var s=window.location.toString();if(s.indexOf("?")>0){var l=s.substring(0,s.indexOf("?"));history.pushState({folderId:t},null,l)}}}},deleteFolder:function(e,t){var n=t.currentFolderId;return function(i){var s=function(){return a["default"].deleteFolder(e).then(function(){return i(o(t,n))},function(e){return i({type:l["default"].DELETE_FOLDER_ERROR,data:e.data?e.data.message:null})})};i(r(s))}},deleteFile:function(e,t){var n=t.currentFolderId;return function(i){var s=function(){return a["default"].deleteFile(e).then(function(){return i(o(t,n))},function(e){return i({type:l["default"].DELETE_FILE_ERROR,data:e.data?e.data.message:null})})};i(r(s))}},downloadFile:function(e){return function(t){var n=a["default"].getDownloadUrl(e);window.open(n,"_blank"),t({type:l["default"].FILE_DOWNLOADED})}},copyFileUrlToClipboard:function(e){if(e.path){var t=a["default"].getItemFullUrl(e.path);return(0,c["default"])(t),{type:l["default"].URL_COPIED_TO_CLIPBOARD,data:t}}},changeSearchingValue:function(e){return{type:l["default"].CHANGE_SEARCH,data:e}},searchFiles:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.numItems,i=e.sorting,s=e.currentFolderId,u=e.loadedItems,c=s,p=n?Math.ceil(u/o)+1:1;return function(e){var s=function(){return a["default"].searchFiles(c,t,p,o,i,"").then(function(t){return e({type:n?l["default"].MORE_CONTENT_LOADED:l["default"].FILES_SEARCHED,data:t})},function(t){return e({type:l["default"].SEARCH_FILES_ERROR,data:t})})};e(r(s))}},changeSorting:function(e){return{type:l["default"].CHANGE_SORTING,data:e}}};t["default"]=p}).call(this)}finally{}},function(e,t,n){"use strict";var r=n(3),o=n(62),i=n(63),a=n(69),s=n(133),l=n(135),u=(n(2),{}),c=null,p=function(e,t){e&&(i.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},d=function(e){return p(e,!0)},f=function(e){return p(e,!1)},h=function(e){return"."+e._rootNodeID},m={injection:{injectEventPluginOrder:o.injectEventPluginOrder,injectEventPluginsByName:o.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?r("94",t,typeof n):void 0;var i=h(e),a=u[t]||(u[t]={});a[i]=n;var s=o.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=u[t],r=h(e);return n&&n[r]},deleteListener:function(e,t){var n=o.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=u[t];if(r){var i=h(e);delete r[i]}},deleteAllListeners:function(e){var t=h(e);for(var n in u)if(u.hasOwnProperty(n)&&u[n][t]){var r=o.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete u[n][t]}},extractEvents:function(e,t,n,r){for(var i,a=o.plugins,l=0;l4&&void 0!==arguments[4]&&arguments[4],s=n.numItems,u=n.sorting,p=n.folder?n.folder.folderId:n.homeFolderId;return function(n){var d=[];e.forEach(function(e){return d.push(c["default"].uploadFile(e,t,a,i.bind(null,e.name)).then(function(t){return r(n,e,a,t)},function(t){return n(o(e.name,t.message))}))}),Promise.all(d).then(function(){return c["default"].getContent(p,0,s,u)}).then(function(e){return n({type:l["default"].CONTENT_LOADED,data:e})})}},trackProgress:function(e,t){return function(n){return n({type:a["default"].UPDATE_PROGRESS,data:{fileName:e,percent:t.percent}})}},stopUpload:function(e){return f[e]=void 0,function(t){return t({type:a["default"].STOP_UPLOAD,data:e})}},fileSizeError:function(e,t){var n=d["default"].getString("FileSizeErrorMessage");return function(r){return r(o(e,e+n+t))}},invalidExtensionError:function(e){var t=d["default"].getString("InvalidExtensionMessage");return function(n){return n(o(e,e+t))}}};t["default"]=h}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(){var e=document.getElementsByTagName("input");e=Array.prototype.slice.call(e);var t=e.filter(function(e){ +return e.getAttribute("name")===m});return t.length>0?t[0].value:""}function r(t,n){var r={ModuleId:c,TabId:u,GroupId:p};n.headers&&l(r,n.headers);var o=e();o&&(r.RequestVerificationToken=o);var i=new Headers(r);return n=l(n,{credentials:"same-origin",headers:i}),fetch(t,n).then(a)}function o(t,r){var o=n(359),a=r.method,s=r.body,d=r.progressTracker,f={ModuleId:c,TabId:u,GroupId:p};r.headers&&l(f,r.headers);var h=e();return h&&(f.RequestVerificationToken=h),o(a,t).set(f).send(s).on("progress",d).then(function(e){return JSON.parse(e.text)},i)}function i(e){var t=new Error(e.status+" - An expected error has been received from the server.");throw t.code=e.status,t}function a(e){return e.status>=200&&e.status<300?e.json():e.json().then(function(t){var n=new Error;throw n.code=e.status,n.data=t,n},function(){var t=new Error(e.status+" - An expected error has been received from the server.");throw t.code=e.status,t})}function s(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:null;return t&&(e+=(e.indexOf("?")>0?"&":"?")+s(t)),r(e,{method:"GET"})},post:function(e,t,n){var o=null;if(n&&"multipart/form-data"===n["Content-Type"]){var i=new FormData;for(var a in t)i.append(a,t[a]);o=i,delete n["Content-Type"]}return r(e,{method:"POST",body:o||JSON.stringify(t),headers:n})},postFile:function(e,t,n){return o(e,{method:"POST",body:t,progressTracker:n})},put:function(e,t){return r(e,{method:"PUT",body:JSON.stringify(t)})},"delete":function(e,t){return r(e,{method:"DELETE",body:JSON.stringify(t)})},getHeadersObject:function(){var e={moduleId:c,tabId:u,groupId:p};return e},getWhitelistObject:function(){var e={extensionWhitelist:f,validationCode:h};return e}};t["default"]=v}).call(this)}finally{}},function(e,t){"use strict";function n(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]="number"==typeof e[n]?e[n]:e[n].val);return t}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";var n={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0},r={getHostProps:function(e,t){if(!t.disabled)return t;var r={};for(var o in t)!n[o]&&t.hasOwnProperty(o)&&(r[o]=t[o]);return r}};e.exports=r},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=h++,d[e[v]]={}),d[e[v]]}var o,i=n(5),a=n(17),s=n(62),l=n(318),u=n(132),c=n(349),p=n(79),d={},f=!1,h=0,m={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),g=i({},l,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),i=s.registrationNameDependencies[e],l=a.topLevelTypes,u=0;u]/;e.exports=r},function(e,t,n){"use strict";var r,o=n(10),i=n(61),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,l=n(75),u=l(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=u},function(e,t){function n(e){return e&&e.__esModule?e:{"default":e}}e.exports=n},function(e,t,n){"use strict";var r=n(1),o=n(153);if("undefined"==typeof r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},[371,167],function(e,t,n){"use strict";e.exports=n(173)},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a-1?void 0:a("96",e),!u.plugins[n]){t.extractEvents?void 0:a("97",e),u.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)?void 0:a("98",i,e)}}}function o(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){u.registrationNameModules[e]?a("100",e):void 0,u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(3),s=(n(2),null),l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?a("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];l.hasOwnProperty(n)&&l[n]===o||(l[n]?a("102",n):void 0,l[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=u.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=u},function(e,t,n){"use strict";function r(e){return e===y.topMouseUp||e===y.topTouchEnd||e===y.topTouchCancel}function o(e){return e===y.topMouseMove||e===y.topTouchMove}function i(e){return e===y.topMouseDown||e===y.topTouchStart}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=b.getNodeFromInstance(r),t?v.invokeGuardedCallbackWithCatch(o,n,e):v.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);return n?n:null}var a=n(3),s=(n(22),n(32)),l=(n(14),n(16)),u=(n(2),n(4),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var o=i(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?a("122",t,o(e)):void 0}});e.exports=u},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function r(e){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";/** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, @@ -18,7 +18,7 @@ onMouseUpCapture:!0},r={getHostProps:function(e,t){if(!t.disabled)return t;var r * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */ -function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(10);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?u.escape(e.key):t.toString(36)}function o(e,t,n,i){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||s.isValidElement(e))return n(i,e,""===t?c+r(e,0):t),1;var f,h,m=0,v=""===t?c:t+p;if(Array.isArray(e))for(var g=0;g=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Collapse=void 0;var l=Object.assign||function(e){for(var t=1;t-1?t:e.content.clientHeight},this.getWrapperStyle=function(t){if(e.state.currentState===b&&e.state.to){var n=e.props.fixedHeight;return n>-1?{overflow:"hidden",height:n}:{height:"auto"}}return e.state.currentState!==v||e.state.to?{overflow:"hidden",height:Math.max(0,t)}:{overflow:"hidden",height:0}},this.getMotionProps=function(){var t=e.props.springConfig;return e.state.currentState===b?{defaultStyle:{height:e.state.to},style:{height:e.state.to}}:{defaultStyle:{height:e.state.from},style:{height:(0,h.spring)(e.state.to,l({precision:m},t))}}},this.renderContent=function(t){var n=t.height,r=e.props,i=(r.isOpened,r.springConfig,r.forceInitialAnimation,r.hasNestedCollapse,r.fixedHeight,r.theme),a=r.style,s=r.onRender,u=(r.onRest,r.onMeasure,r.children),c=o(r,["isOpened","springConfig","forceInitialAnimation","hasNestedCollapse","fixedHeight","theme","style","onRender","onRest","onMeasure","children"]),d=e.state,f=d.from,h=d.to;return s({current:n,from:f,to:h}),p["default"].createElement("div",l({ref:e.onWrapperRef,className:i.collapse,style:l({},e.getWrapperStyle(Math.max(0,n)),a)},c),p["default"].createElement("div",{ref:e.onContentRef,className:i.content},u))}}},function(e,t,n){"use strict";var r=n(86),o=r.Collapse,i=n(162),a=i.UnmountClosed;a.Collapse=o,a.UnmountClosed=a,e.exports=a},[389,165],[398,176],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t0){var o=e.left;e.left=window.innerWidth-this.state.width-this.margin,t.fgStyle.marginLeft+=o-e.left,t.bgStyle.marginLeft+=o-e.left}}return{style:e,arrowStyle:t}}},{key:"mergeStyle",value:function(e,t){if(t){var n=(t.position,t.top,t.left,t.right,t.bottom,t.marginLeft,t.marginRight,o(t,["position","top","left","right","bottom","marginLeft","marginRight"]));return(0,m["default"])(e,n)}return e}},{key:"getStyle",value:function(e,t){var n=this.props.parentEl,r=n.getBoundingClientRect(),o=void 0!==window.scrollY?window.scrollY:window.pageYOffset,i=void 0!==window.scrollX?window.scrollX:window.pageXOffset,a=o+r.top,s=i+r.left,l={};switch(e){case"left":if(l.top=a+n.offsetHeight/2-this.state.height/2,l.left=s-this.state.width-this.margin,t)switch(t){case"top":l.top=a+n.offsetHeight/2-this.margin,l.left=s-this.state.width-this.margin;break;case"bottom":l.top=a+n.offsetHeight/2-this.state.height+this.margin,l.left=s-this.state.width-this.margin}break;case"right":if(l.top=a+n.offsetHeight/2-this.state.height/2,l.left=s+n.offsetWidth+this.margin,t)switch(t){case"top":l.top=a+n.offsetHeight/2-this.margin,l.left=s+n.offsetWidth+this.margin;break;case"bottom":l.top=a+n.offsetHeight/2-this.state.height+this.margin,l.left=s+n.offsetWidth+this.margin}break;case"top":if(l.left=s-this.state.width/2+n.offsetWidth/2,l.top=a-this.state.height-this.margin,t)switch(t){case"right":l.left=s-this.state.width+n.offsetWidth/2+this.margin,l.top=a-this.state.height-this.margin;break;case"left":l.left=s+n.offsetWidth/2-this.margin,l.top=a-this.state.height-this.margin}break;case"bottom":if(l.left=s-this.state.width/2+n.offsetWidth/2,l.top=a+n.offsetHeight+this.margin,t)switch(t){case"right":l.left=s-this.state.width+n.offsetWidth/2+this.margin,l.top=a+n.offsetHeight+this.margin;break;case"left":l.left=s+n.offsetWidth/2-this.margin,l.top=a+n.offsetHeight+this.margin}}return l}},{key:"checkWindowPosition",value:function(e,t){if("top"===this.props.position||"bottom"===this.props.position)if(e.left<0){var n=e.left;e.left=this.margin,t.fgStyle.marginLeft+=n,t.bgStyle.marginLeft+=n}else{var r=e.left+this.state.width-window.innerWidth;if(r>0){var o=e.left;e.left=window.innerWidth-this.state.width-this.margin,t.fgStyle.marginLeft+=o-e.left,t.bgStyle.marginLeft+=o-e.left}}return{style:e,arrowStyle:t}}},{key:"handleMouseEnter",value:function(){this.props.active&&this.setState({hover:!0})}},{key:"handleMouseLeave",value:function(){this.setState({hover:!1})}},{key:"componentDidMount",value:function(){this.updateSize()}},{key:"componentWillReceiveProps",value:function(){var e=this;this.setState({transition:this.state.hover||this.props.active?"all":"opacity"},function(){e.updateSize()})}},{key:"updateSize",value:function(){var e=f["default"].findDOMNode(this);this.setState({width:e.offsetWidth,height:e.offsetHeight})}},{key:"render",value:function(){var e=this.checkWindowPosition(this.style,this.arrowStyle),t=e.style,n=e.arrowStyle;return p["default"].createElement("div",{style:t,onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this)},this.props.arrow?p["default"].createElement("div",null,p["default"].createElement("span",{style:n.fgStyle}),p["default"].createElement("span",{style:n.bgStyle})):null,this.props.children)}},{key:"style",get:function(){if(!this.props.parentEl)return{display:"none"};var e={position:"absolute",padding:"5px",background:"#fff",boxShadow:"0 0 8px rgba(0,0,0,.3)",borderRadius:"3px",transition:this.state.transition+" .3s ease-in-out, visibility .3s ease-in-out",opacity:this.state.hover||this.props.active?1:0,visibility:this.state.hover||this.props.active?"visible":"hidden",zIndex:50};return(0,m["default"])(e,this.getStyle(this.props.position,this.props.arrow)),this.mergeStyle(e,this.props.style.style)}},{key:"baseArrowStyle",get:function(){return{position:"absolute",content:'""',transition:"all .3s ease-in-out"}}},{key:"arrowStyle",get:function(){var e=this.baseArrowStyle,t=this.baseArrowStyle;e.zIndex=60,t.zIndex=55;var n=(0,m["default"])(this.defaultArrowStyle,this.props.style.arrowStyle),r=n.borderColor?n.borderColor:"transparent",i="10px solid "+n.color,a="8px solid transparent",s="11px solid "+r,l="9px solid transparent",u=this.props,c=u.position,p=u.arrow;"left"===c||"right"===c?(e.top="50%",e.borderTop=a,e.borderBottom=a,e.marginTop=-7,t.borderTop=l,t.borderBottom=l,t.top="50%",t.marginTop=-8,"left"===c?(e.right=-10,e.borderLeft=i,t.right=-11,t.borderLeft=s):(e.left=-10,e.borderRight=i,t.left=-11,t.borderRight=s),"top"===p&&(e.top=this.margin,t.top=this.margin),"bottom"===p&&(e.top=null,e.bottom=this.margin-7,t.top=null,t.bottom=this.margin-8)):(e.left="50%",e.marginLeft=-10,e.borderLeft=a,e.borderRight=a,t.left="50%",t.marginLeft=-11,t.borderLeft=l,t.borderRight=l,"top"===c?(e.bottom=-10,e.borderTop=i,t.bottom=-11,t.borderTop=s):(e.top=-10,e.borderBottom=i,t.top=-11,t.borderBottom=s),"right"===p&&(e.left=null,e.right=this.margin+1,e.marginLeft=0,t.left=null,t.right=this.margin,t.marginLeft=0),"left"===p&&(e.left=this.margin+1,e.marginLeft=0,t.left=this.margin,t.marginLeft=0));var d=this.props.style.arrowStyle,f=(d.color,d.borderColor,o(d,["color","borderColor"]));return{fgStyle:this.mergeStyle(e,f),bgStyle:this.mergeStyle(t,f)}}}],[{key:"propTypes",value:{active:c.PropTypes.bool,position:c.PropTypes.oneOf(["top","right","bottom","left"]),arrow:c.PropTypes.oneOf([null,"center","top","right","bottom","left"]),style:c.PropTypes.object},enumerable:!0},{key:"defaultProps",value:{active:!1,position:"right",arrow:null,style:{style:{},arrowStyle:{}}},enumerable:!0}]),t}(p["default"].Component),g={},y=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),l(t,[{key:"componentDidMount",value:function(){this.props.active&&this.renderPortal(this.props)}},{key:"componentWillReceiveProps",value:function(e){var t=this;if((g[this.props.group]||e.active)&&(this.props.active||e.active)){var n=(0,m["default"])({},e),r=(0,m["default"])({},e);g[this.props.group]&&g[this.props.group].timeout&&clearTimeout(g[this.props.group].timeout),this.props.active&&!n.active&&(r.active=!0,g[this.props.group].timeout=setTimeout(function(){n.active=!1,t.renderPortal(n)},this.props.tooltipTimeout)),this.renderPortal(r)}}},{key:"componentWillUnmount",value:function(){g[this.props.group]&&(f["default"].unmountComponentAtNode(g[this.props.group].node),clearTimeout(g[this.props.group].timeout))}},{key:"createPortal",value:function(){g[this.props.group]={node:document.createElement("div"),timeout:!1},g[this.props.group].node.className="ToolTipPortal",document.body.appendChild(g[this.props.group].node)}},{key:"renderPortal",value:function(e){g[this.props.group]||this.createPortal();var t=e.parent,n=o(e,["parent"]),r=document.querySelector(t);(0,d.unstable_renderSubtreeIntoContainer)(this,p["default"].createElement(v,s({parentEl:r},n)),g[this.props.group].node)}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"render",value:function(){return null}}],[{key:"propTypes",value:{parent:c.PropTypes.string.isRequired,active:c.PropTypes.bool,group:c.PropTypes.string,tooltipTimeout:c.PropTypes.number},enumerable:!0},{key:"defaultProps",value:{active:!1,group:"main",tooltipTimeout:500},enumerable:!0}]),t}(p["default"].Component);t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";e.exports=n(177)},function(e,t,n){"use strict";e.exports=n(179)},[389,180],[398,191],90,function(e,t,n){function r(e,t,n){var r=u[t];if("undefined"==typeof r&&(r=i(t)),r){if(void 0===n)return e.style[r];e.style[r]=c(r,n)}}function o(e,t){for(var n in t)t.hasOwnProperty(n)&&r(e,n,t[n])}function i(e){var t=l(e),n=s(t);return u[t]=u[e]=u[n]=n,n}function a(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:o(arguments[0],arguments[1]):r(arguments[0],arguments[1],arguments[2])}var s=n(225),l=n(383),u={"float":"cssFloat"},c=n(154);e.exports=a,e.exports.set=a,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce(function(t,n){return t[n]=r(e,n||""),t},{}):r(e,t||"")}},function(e,t){"use strict";t.__esModule=!0,t["default"]=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";var r=n(12),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t){"use strict";function n(e){try{e.focus()}catch(t){}}e.exports=n},function(e,t){"use strict";function n(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},[391,103],[392,101,218,219],[395,216],function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e={SHOW_ADD_ASSET_PANEL:"SHOW_ADD_ASSET_PANEL",HIDE_ADD_ASSET_PANEL:"HIDE_ADD_ASSET_PANEL",UPDATE_PROGRESS:"UPDATE_PROGRESS",RESET_PANEL:"RESET_PANEL",ASSET_ADDED:"ASSET_ADDED",ASSET_ADDED_ERROR:"ASSET_ADDED_ERROR",FILE_ALREADY_EXIST:"FILE_ALREADY_EXIST",STOP_UPLOAD:"STOP_UPLOAD"};t["default"]=e}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e={OPEN_DIALOG_MODAL:"OPEN_DIALOG_MODAL",CLOSE_DIALOG_MODAL:"CLOSE_DIALOG_MODAL"};t["default"]=e}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e={CLOSE_MESSAGE_MODAL:"CLOSE_MESSAGE_MODAL"};t["default"]=e}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e={CHANGE_SEARCH_FIELD:"CHANGE_SEARCH_FIELD"};t["default"]=e}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),o=e(r),i=n(13),a=e(i),s=n(21),l=e(s),u={showPanel:function(){return function(e){e({type:a["default"].CLOSE_TOP_PANELS}),e({type:o["default"].SHOW_ADD_FOLDER_PANEL})}},hidePanel:function(){return function(e){e({type:o["default"].HIDE_ADD_FOLDER_PANEL})}},loadFolderMappings:function(){return function(e){l["default"].loadFolderMappings().then(function(t){e({type:o["default"].FOLDER_MAPPINGS_LOADED,data:t})})["catch"](function(){e({type:o["default"].LOAD_FOLDER_MAPPINGS_ERROR})})}},changeName:function(e){return{type:o["default"].CHANGE_NAME,data:e.target.value}},changeFolderType:function(e){return{type:o["default"].CHANGE_FOLDER_TYPE,data:e}},addFolder:function(e){var t=e.formData,n=e.folderPanelState,r=n.numItems,i=n.sorting,s=n.folder?n.folder.folderId:n.homeFolderId,u={folderName:t.name,FolderMappingId:t.folderType,ParentFolderId:s};return function(e){l["default"].addFolder(u).then(function(t){return l["default"].getContent(s,0,r,i).then(function(n){e({type:a["default"].CONTENT_LOADED,data:n}),e({type:o["default"].FOLDER_CREATED,data:t})})},function(t){return e({type:o["default"].ADD_FOLDER_ERROR,data:t.data?t.data.message:null})})["catch"](e({type:o["default"].ADD_FOLDER_ERROR}))}},setValidationErrors:function(e){return{type:o["default"].SET_VALIDATION_ERRORS,data:e}}};t["default"]=u}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(107),o=e(r),i={open:function(e,t,n,r){return{type:o["default"].OPEN_DIALOG_MODAL,data:{dialogHeader:e,dialogMessage:t,yesFunction:n,noFunction:r}}},close:function(){return{type:o["default"].CLOSE_DIALOG_MODAL}}};t["default"]=i}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;tn&&(o(e.name,r),1))}},{key:"uploadFilesHandler",value:function(e){var t=this.props,n=t.showPanel,r=t.folderPanelState,o=t.trackProgress,i=t.uploadFiles;n();var a=e.filter(this.validateFile.bind(this));i(a,this.getFolderPath(),r,o)}},{key:"getFolderPath",value:function(){var e=this.props.folderPanelState.folder;return e?e.folderPath:""}},{key:"render",value:function(){var e=this.props,t=e.hasPermission,n=e.disableClick,r=e.style,o=e.activeStyle,i=e.className;return t?p["default"].createElement(m["default"],{disableClick:n,style:r,activeStyle:o,className:i,onDrop:this.uploadFilesHandler.bind(this)},this.props.children):p["default"].createElement("div",null,this.props.children)}}]),t}(p["default"].Component);y.propTypes={children:p["default"].PropTypes.node,disableClick:c.PropTypes.bool,className:c.PropTypes.string,style:c.PropTypes.any,activeStyle:c.PropTypes.any,folderPanelState:c.PropTypes.object,hasPermission:c.PropTypes.bool,showPanel:c.PropTypes.func,uploadFiles:c.PropTypes.func,trackProgress:c.PropTypes.func,maxUploadSize:c.PropTypes.number,maxFileUploadSizeHumanReadable:c.PropTypes.string,fileSizeError:c.PropTypes.func},t["default"]=(0,f.connect)(a,s)(y)}).call(this)}finally{}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function i(e){var t=e;if("string"==typeof t&&f.canUseDOM){var n=document.querySelectorAll(t);o(n,t),t="length"in n?n[0]:n}return h=t||h}function a(e){return!(!e&&!h&&((0,d["default"])(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),1))}function s(e){a(e)&&(e||h).setAttribute("aria-hidden","true")}function l(e){a(e)&&(e||h).removeAttribute("aria-hidden")}function u(){h=null}function c(){h=null}Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=o,t.setElement=i,t.validateElement=a,t.hide=s,t.show=l,t.documentNotReadyOrSSRTesting=u,t.resetForTesting=c;var p=n(291),d=r(p),f=n(58),h=null},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function a(){var e=this;r(this,a),this.register=function(t){e.openInstances.indexOf(t)===-1&&(e.openInstances.push(t),e.emit("register"))},this.deregister=function(t){var n=e.openInstances.indexOf(t);n!==-1&&(e.openInstances.splice(n,1),e.emit("deregister"))},this.subscribe=function(t){e.subscribers.push(t)},this.emit=function(t){e.subscribers.forEach(function(n){return n(t,e.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},i=new o;t["default"]=i,e.exports=t["default"]},function(e,t){"use strict";function n(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}function r(e){for(var t=e;t&&t!==document.body;){if(n(t))return!1;t=t.parentNode}return!0}function o(e,t){var n=e.nodeName.toLowerCase(),o=s.test(n)&&!e.disabled||("a"===n?e.href||t:t);return o&&r(e)}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&o(e,!n)}function a(e){return[].slice.call(e.querySelectorAll("*"),0).filter(i)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;/*! +function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(10);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?u.escape(e.key):t.toString(36)}function o(e,t,n,i){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||s.isValidElement(e))return n(i,e,""===t?c+r(e,0):t),1;var f,h,m=0,v=""===t?c:t+p;if(Array.isArray(e))for(var g=0;g=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Collapse=void 0;var l=Object.assign||function(e){for(var t=1;t-1?t:e.content.clientHeight},this.getWrapperStyle=function(t){if(e.state.currentState===b&&e.state.to){var n=e.props.fixedHeight;return n>-1?{overflow:"hidden",height:n}:{height:"auto"}}return e.state.currentState!==v||e.state.to?{overflow:"hidden",height:Math.max(0,t)}:{overflow:"hidden",height:0}},this.getMotionProps=function(){var t=e.props.springConfig;return e.state.currentState===b?{defaultStyle:{height:e.state.to},style:{height:e.state.to}}:{defaultStyle:{height:e.state.from},style:{height:(0,h.spring)(e.state.to,l({precision:m},t))}}},this.renderContent=function(t){var n=t.height,r=e.props,i=(r.isOpened,r.springConfig,r.forceInitialAnimation,r.hasNestedCollapse,r.fixedHeight,r.theme),a=r.style,s=r.onRender,u=(r.onRest,r.onMeasure,r.children),c=o(r,["isOpened","springConfig","forceInitialAnimation","hasNestedCollapse","fixedHeight","theme","style","onRender","onRest","onMeasure","children"]),d=e.state,f=d.from,h=d.to;return s({current:n,from:f,to:h}),p["default"].createElement("div",l({ref:e.onWrapperRef,className:i.collapse,style:l({},e.getWrapperStyle(Math.max(0,n)),a)},c),p["default"].createElement("div",{ref:e.onContentRef,className:i.content},u))}}},function(e,t,n){"use strict";var r=n(85),o=r.Collapse,i=n(157),a=i.UnmountClosed;a.Collapse=o,a.UnmountClosed=a,e.exports=a},function(e,t,n){"use strict";e.exports=n(160)},function(e,t,n){function r(e){var t=++i;return o(e)+t}var o=n(171),i=0;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t0){var o=e.left;e.left=window.innerWidth-this.state.width-this.margin,t.fgStyle.marginLeft+=o-e.left,t.bgStyle.marginLeft+=o-e.left}}return{style:e,arrowStyle:t}}},{key:"mergeStyle",value:function(e,t){if(t){var n=(t.position,t.top,t.left,t.right,t.bottom,t.marginLeft,t.marginRight,o(t,["position","top","left","right","bottom","marginLeft","marginRight"]));return(0,m["default"])(e,n)}return e}},{key:"getStyle",value:function(e,t){var n=this.props.parentEl,r=n.getBoundingClientRect(),o=void 0!==window.scrollY?window.scrollY:window.pageYOffset,i=void 0!==window.scrollX?window.scrollX:window.pageXOffset,a=o+r.top,s=i+r.left,l={};switch(e){case"left":if(l.top=a+n.offsetHeight/2-this.state.height/2,l.left=s-this.state.width-this.margin,t)switch(t){case"top":l.top=a+n.offsetHeight/2-this.margin,l.left=s-this.state.width-this.margin;break;case"bottom":l.top=a+n.offsetHeight/2-this.state.height+this.margin,l.left=s-this.state.width-this.margin}break;case"right":if(l.top=a+n.offsetHeight/2-this.state.height/2,l.left=s+n.offsetWidth+this.margin,t)switch(t){case"top":l.top=a+n.offsetHeight/2-this.margin,l.left=s+n.offsetWidth+this.margin;break;case"bottom":l.top=a+n.offsetHeight/2-this.state.height+this.margin,l.left=s+n.offsetWidth+this.margin}break;case"top":if(l.left=s-this.state.width/2+n.offsetWidth/2,l.top=a-this.state.height-this.margin,t)switch(t){case"right":l.left=s-this.state.width+n.offsetWidth/2+this.margin,l.top=a-this.state.height-this.margin;break;case"left":l.left=s+n.offsetWidth/2-this.margin,l.top=a-this.state.height-this.margin}break;case"bottom":if(l.left=s-this.state.width/2+n.offsetWidth/2,l.top=a+n.offsetHeight+this.margin,t)switch(t){case"right":l.left=s-this.state.width+n.offsetWidth/2+this.margin,l.top=a+n.offsetHeight+this.margin;break;case"left":l.left=s+n.offsetWidth/2-this.margin,l.top=a+n.offsetHeight+this.margin}}return l}},{key:"checkWindowPosition",value:function(e,t){if("top"===this.props.position||"bottom"===this.props.position)if(e.left<0){var n=e.left;e.left=this.margin,t.fgStyle.marginLeft+=n,t.bgStyle.marginLeft+=n}else{var r=e.left+this.state.width-window.innerWidth;if(r>0){var o=e.left;e.left=window.innerWidth-this.state.width-this.margin,t.fgStyle.marginLeft+=o-e.left,t.bgStyle.marginLeft+=o-e.left}}return{style:e,arrowStyle:t}}},{key:"handleMouseEnter",value:function(){this.props.active&&this.setState({hover:!0})}},{key:"handleMouseLeave",value:function(){this.setState({hover:!1})}},{key:"componentDidMount",value:function(){this.updateSize()}},{key:"componentWillReceiveProps",value:function(){var e=this;this.setState({transition:this.state.hover||this.props.active?"all":"opacity"},function(){e.updateSize()})}},{key:"updateSize",value:function(){var e=f["default"].findDOMNode(this);this.setState({width:e.offsetWidth,height:e.offsetHeight})}},{key:"render",value:function(){var e=this.checkWindowPosition(this.style,this.arrowStyle),t=e.style,n=e.arrowStyle;return p["default"].createElement("div",{style:t,onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this)},this.props.arrow?p["default"].createElement("div",null,p["default"].createElement("span",{style:n.fgStyle}),p["default"].createElement("span",{style:n.bgStyle})):null,this.props.children)}},{key:"style",get:function(){if(!this.props.parentEl)return{display:"none"};var e={position:"absolute",padding:"5px",background:"#fff",boxShadow:"0 0 8px rgba(0,0,0,.3)",borderRadius:"3px",transition:this.state.transition+" .3s ease-in-out, visibility .3s ease-in-out",opacity:this.state.hover||this.props.active?1:0,visibility:this.state.hover||this.props.active?"visible":"hidden",zIndex:50};return(0,m["default"])(e,this.getStyle(this.props.position,this.props.arrow)),this.mergeStyle(e,this.props.style.style)}},{key:"baseArrowStyle",get:function(){return{position:"absolute",content:'""',transition:"all .3s ease-in-out"}}},{key:"arrowStyle",get:function(){var e=this.baseArrowStyle,t=this.baseArrowStyle;e.zIndex=60,t.zIndex=55;var n=(0,m["default"])(this.defaultArrowStyle,this.props.style.arrowStyle),r=n.borderColor?n.borderColor:"transparent",i="10px solid "+n.color,a="8px solid transparent",s="11px solid "+r,l="9px solid transparent",u=this.props,c=u.position,p=u.arrow;"left"===c||"right"===c?(e.top="50%",e.borderTop=a,e.borderBottom=a,e.marginTop=-7,t.borderTop=l,t.borderBottom=l,t.top="50%",t.marginTop=-8,"left"===c?(e.right=-10,e.borderLeft=i,t.right=-11,t.borderLeft=s):(e.left=-10,e.borderRight=i,t.left=-11,t.borderRight=s),"top"===p&&(e.top=this.margin,t.top=this.margin),"bottom"===p&&(e.top=null,e.bottom=this.margin-7,t.top=null,t.bottom=this.margin-8)):(e.left="50%",e.marginLeft=-10,e.borderLeft=a,e.borderRight=a,t.left="50%",t.marginLeft=-11,t.borderLeft=l,t.borderRight=l,"top"===c?(e.bottom=-10,e.borderTop=i,t.bottom=-11,t.borderTop=s):(e.top=-10,e.borderBottom=i,t.top=-11,t.borderBottom=s),"right"===p&&(e.left=null,e.right=this.margin+1,e.marginLeft=0,t.left=null,t.right=this.margin,t.marginLeft=0),"left"===p&&(e.left=this.margin+1,e.marginLeft=0,t.left=this.margin,t.marginLeft=0));var d=this.props.style.arrowStyle,f=(d.color,d.borderColor,o(d,["color","borderColor"]));return{fgStyle:this.mergeStyle(e,f),bgStyle:this.mergeStyle(t,f)}}}],[{key:"propTypes",value:{active:c.PropTypes.bool,position:c.PropTypes.oneOf(["top","right","bottom","left"]),arrow:c.PropTypes.oneOf([null,"center","top","right","bottom","left"]),style:c.PropTypes.object},enumerable:!0},{key:"defaultProps",value:{active:!1,position:"right",arrow:null,style:{style:{},arrowStyle:{}}},enumerable:!0}]),t}(p["default"].Component),g={},y=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),l(t,[{key:"componentDidMount",value:function(){this.props.active&&this.renderPortal(this.props)}},{key:"componentWillReceiveProps",value:function(e){var t=this;if((g[this.props.group]||e.active)&&(this.props.active||e.active)){var n=(0,m["default"])({},e),r=(0,m["default"])({},e);g[this.props.group]&&g[this.props.group].timeout&&clearTimeout(g[this.props.group].timeout),this.props.active&&!n.active&&(r.active=!0,g[this.props.group].timeout=setTimeout(function(){n.active=!1,t.renderPortal(n)},this.props.tooltipTimeout)),this.renderPortal(r)}}},{key:"componentWillUnmount",value:function(){g[this.props.group]&&(f["default"].unmountComponentAtNode(g[this.props.group].node),clearTimeout(g[this.props.group].timeout))}},{key:"createPortal",value:function(){g[this.props.group]={node:document.createElement("div"),timeout:!1},g[this.props.group].node.className="ToolTipPortal",document.body.appendChild(g[this.props.group].node)}},{key:"renderPortal",value:function(e){g[this.props.group]||this.createPortal();var t=e.parent,n=o(e,["parent"]),r=document.querySelector(t);(0,d.unstable_renderSubtreeIntoContainer)(this,p["default"].createElement(v,s({parentEl:r},n)),g[this.props.group].node)}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"render",value:function(){return null}}],[{key:"propTypes",value:{parent:c.PropTypes.string.isRequired,active:c.PropTypes.bool,group:c.PropTypes.string,tooltipTimeout:c.PropTypes.number},enumerable:!0},{key:"defaultProps",value:{active:!1,group:"main",tooltipTimeout:500},enumerable:!0}]),t}(p["default"].Component);t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";e.exports=n(172)},function(e,t,n){function r(e,t,n){var r=u[t];if("undefined"==typeof r&&(r=i(t)),r){if(void 0===n)return e.style[r];e.style[r]=c(r,n)}}function o(e,t){for(var n in t)t.hasOwnProperty(n)&&r(e,n,t[n])}function i(e){var t=l(e),n=s(t);return u[t]=u[e]=u[n]=n,n}function a(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:o(arguments[0],arguments[1]):r(arguments[0],arguments[1],arguments[2])}var s=n(207),l=n(365),u={"float":"cssFloat"},c=n(149);e.exports=a,e.exports.set=a,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce(function(t,n){return t[n]=r(e,n||""),t},{}):r(e,t||"")}},function(e,t){"use strict";t.__esModule=!0,t["default"]=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";var r=n(12),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t){"use strict";function n(e){try{e.focus()}catch(t){}}e.exports=n},function(e,t){"use strict";function n(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},[371,98],[372,96,200,201],[374,198],function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e={SHOW_ADD_ASSET_PANEL:"SHOW_ADD_ASSET_PANEL",HIDE_ADD_ASSET_PANEL:"HIDE_ADD_ASSET_PANEL",UPDATE_PROGRESS:"UPDATE_PROGRESS",RESET_PANEL:"RESET_PANEL",ASSET_ADDED:"ASSET_ADDED",ASSET_ADDED_ERROR:"ASSET_ADDED_ERROR",FILE_ALREADY_EXIST:"FILE_ALREADY_EXIST",STOP_UPLOAD:"STOP_UPLOAD"};t["default"]=e}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e={OPEN_DIALOG_MODAL:"OPEN_DIALOG_MODAL",CLOSE_DIALOG_MODAL:"CLOSE_DIALOG_MODAL"};t["default"]=e}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e={CLOSE_MESSAGE_MODAL:"CLOSE_MESSAGE_MODAL"};t["default"]=e}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e={CHANGE_SEARCH_FIELD:"CHANGE_SEARCH_FIELD"};t["default"]=e}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(55),o=e(r),i=n(13),a=e(i),s=n(20),l=e(s),u={showPanel:function(){return function(e){e({type:a["default"].CLOSE_TOP_PANELS}),e({type:o["default"].SHOW_ADD_FOLDER_PANEL})}},hidePanel:function(){return function(e){e({type:o["default"].HIDE_ADD_FOLDER_PANEL})}},loadFolderMappings:function(){return function(e){l["default"].loadFolderMappings().then(function(t){e({type:o["default"].FOLDER_MAPPINGS_LOADED,data:t})})["catch"](function(){e({type:o["default"].LOAD_FOLDER_MAPPINGS_ERROR})})}},changeName:function(e){return{type:o["default"].CHANGE_NAME,data:e.target.value}},changeFolderType:function(e){return{type:o["default"].CHANGE_FOLDER_TYPE,data:e}},addFolder:function(e){var t=e.formData,n=e.folderPanelState,r=n.numItems,i=n.sorting,s=n.folder?n.folder.folderId:n.homeFolderId,u={folderName:t.name,FolderMappingId:t.folderType,ParentFolderId:s};return function(e){l["default"].addFolder(u).then(function(t){return l["default"].getContent(s,0,r,i).then(function(n){e({type:a["default"].CONTENT_LOADED,data:n}),e({type:o["default"].FOLDER_CREATED,data:t})})},function(t){return e({type:o["default"].ADD_FOLDER_ERROR,data:t.data?t.data.message:null})})["catch"](e({type:o["default"].ADD_FOLDER_ERROR}))}},setValidationErrors:function(e){return{type:o["default"].SET_VALIDATION_ERRORS,data:e}}};t["default"]=u}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(102),o=e(r),i={open:function(e,t,n,r){return{type:o["default"].OPEN_DIALOG_MODAL,data:{dialogHeader:e,dialogMessage:t,yesFunction:n,noFunction:r}}},close:function(){return{type:o["default"].CLOSE_DIALOG_MODAL}}};t["default"]=i}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;tn)return o(e.name,r),!1;for(var a=b["default"].getWhitelistObject().extensionWhitelist.split(","),s=e.name.substr(e.name.lastIndexOf(".")+1),l=!1,u=0;u=0)&&o(e,!n)}function a(e){return[].slice.call(e.querySelectorAll("*"),0).filter(i)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;/*! * Adapted from jQuery UI core * * http://jqueryui.com @@ -29,12 +29,12 @@ function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;va * * http://api.jqueryui.com/category/ui-core/ */ -var s=/input|select|textarea|button|object/;e.exports=t["default"]},function(e,t){"use strict";t.__esModule=!0,t["default"]={noWobble:{stiffness:170,damping:26},gentle:{stiffness:120,damping:14},wobbly:{stiffness:180,damping:12},stiff:{stiffness:210,damping:20}},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var r=n(1);t["default"]=r.PropTypes.shape({subscribe:r.PropTypes.func.isRequired,dispatch:r.PropTypes.func.isRequired,getState:r.PropTypes.func.isRequired})},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(t){}}t.__esModule=!0,t["default"]=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=o;var i=n(1),a=(r(i),n(11)),s=r(a);t.nameShape=s["default"].oneOfType([s["default"].string,s["default"].shape({enter:s["default"].string,leave:s["default"].string,active:s["default"].string}),s["default"].shape({enter:s["default"].string,enterActive:s["default"].string,leave:s["default"].string,leaveActive:s["default"].string,appear:s["default"].string,appearActive:s["default"].string})])},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){o.forEach(function(t){r[n(t,e)]=r[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},a={isUnitlessNumber:r,shorthandPropertyExpansions:i};e.exports=a},function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var o=n(3),i=n(5),a=n(22);n(2),i(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){e.length!==t.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var n=0;n.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=w(F,null,null,null,null,null,t);if(e){var l=E.get(e);a=l._processChildContext(l._context)}else a=C;var c=d(n);if(c){var p=c._currentElement,h=p.props;if(M(h,t)){var m=c._renderedComponent.getPublicInstance(),v=r&&function(){r.call(m)};return V._updateRootComponent(c,s,a,n,v),m}V.unmountComponentAtNode(n)}var g=o(n),y=g&&!!i(g),b=u(n),x=y&&!c&&!b,_=V._renderNewRootComponent(s,n,x,a)._renderedComponent.getPublicInstance();return r&&r.call(_),_},render:function(e,t,n){return V._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:f("40");var t=d(e);return t?(delete j[t._instance.rootID],S.batchedUpdates(l,t,e,!1),!0):(u(e),1===e.nodeType&&e.hasAttribute(A),!1)},_mountImageIntoNode:function(e,t,n,i,a){if(c(t)?void 0:f("41"),i){var s=o(t);if(_.canReuseMarkup(e,s))return void g.precacheNode(n,s);var l=s.getAttribute(_.CHECKSUM_ATTR_NAME);s.removeAttribute(_.CHECKSUM_ATTR_NAME);var u=s.outerHTML;s.setAttribute(_.CHECKSUM_ATTR_NAME,l);var p=e,d=r(p,u),m=" (client) "+p.substring(d-20,d+20)+"\n (server) "+u.substring(d-20,d+20);t.nodeType===D?f("42",m):void 0}if(t.nodeType===D?f("43"):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else k(t,e),g.precacheNode(n,t.firstChild)}};e.exports=V},function(e,t,n){"use strict";var r=n(35),o=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});e.exports=o},function(e,t,n){"use strict";var r=n(3),o=n(15),i=(n(2),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?i.EMPTY:o.isValidElement(e)?"function"==typeof e.type?i.COMPOSITE:i.HOST:void r("26",e)}});e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function t(t,n,r,i,a,s,l){if(i=i||S,s=s||r,null==n[r]){var u=E[a];return t?new o("Required "+u+" `"+s+"` was not specified in "+("`"+i+"`.")):null}return e(n,r,i,a,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,i,a,s){var l=t[n],u=y(l);if(u!==e){var c=E[i],p=b(l);return new o("Invalid "+c+" `"+a+"` of type "+("`"+p+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function s(){return i(T.thatReturns(null))}function l(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var l=E[i],u=y(s);return new o("Invalid "+l+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c>"),C={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:l,element:u(),instanceOf:c,node:h(),objectOf:d,oneOf:p,oneOfType:f,shape:m};o.prototype=Error.prototype,e.exports=C},function(e,t){"use strict";e.exports="15.3.2"},function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t,n){"use strict";function r(e,t){return null==t?o("30"):void 0,null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}var o=n(3);n(2),e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t){"use strict";function n(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=n},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(134);e.exports=r},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";e.exports=n},function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(10),i=null;e.exports=r},function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||e===!1)n=u.create(i);else if("object"==typeof e){var s=e;!s||"function"!=typeof s.type&&"string"!=typeof s.type?a("130",null==s.type?s.type:typeof s.type,r(s._owner)):void 0,"string"==typeof s.type?n=c.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new p(s)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):a("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var a=n(3),s=n(5),l=n(319),u=n(128),c=n(130),p=(n(2),n(4),function(e){this.construct(e)});s(p.prototype,l.Mixin,{_instantiateReactComponent:i}),e.exports=i},function(e,t){"use strict";function n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){"use strict";var r=n(10),o=n(45),i=n(46),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){i(e,o(t))})),e.exports=a},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;astrong{cursor:pointer}.dnn-folder-selector span>strong:hover{text-decoration:underline}.dnn-folder-selector .folder-selector-container{position:absolute;top:calc(100% + 1px);left:-1px;width:100%;border:1px solid #c8c8c8;background:#fff;z-index:1;transition:.2s;overflow:hidden;max-height:0;box-shadow:none;opacity:0}.dnn-folder-selector .folder-selector-container.show{max-height:600px;opacity:1}.dnn-folder-selector .folder-selector-container .inner-box{box-sizing:border-box;padding:20px;float:left;width:100%;height:100%}.dnn-folder-selector .folder-selector-container .inner-box .search{float:left;width:100%;border:1px solid #c8c8c8;position:relative}.dnn-folder-selector .folder-selector-container .inner-box .search .clear-button{position:absolute;right:32px;top:50%;height:26px;margin-top:-13px;font-size:26px;line-height:26px;opacity:.5;cursor:pointer}.dnn-folder-selector .folder-selector-container .inner-box .search .clear-button:hover{opacity:1}.dnn-folder-selector .folder-selector-container .inner-box .search .search-icon{position:absolute;right:0;top:50%;transform:translateY(-50%);height:24px;color:#6f7273}.dnn-folder-selector .folder-selector-container .inner-box .search input[type=text]{float:left;border:none;width:calc(100% - 40px);box-sizing:border-box;outline:none!important;padding:0!important;box-shadow:none;border:none!important;margin-top:3px;margin-left:5px}.dnn-folder-selector .folder-selector-container .inner-box .items{float:left;width:100%;border:1px solid #c8c8c8;height:200px;margin-top:14px}.dnn-folder-selector .folder-selector-container .inner-box .items,.dnn-folder-selector .folder-selector-container .inner-box .items *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dnn-folder-selector .folder-selector-container .inner-box .items .scrollArea{height:100%!important;max-height:none!important}.dnn-folder-selector .folder-selector-container .inner-box .items .scrollArea>div:first-child{box-sizing:content-box;padding-bottom:17px;height:100%}.dnn-folder-selector .folder-selector-container .inner-box .items .scrollArea .dnn-folders-component div.has-children{top:9px}.dnn-folders-component{padding-top:6px}.dnn-folders-component ul{padding-left:20px;box-sizing:border-box}.dnn-folders-component ul li{list-style:none;position:relative;float:left;width:100%;margin-top:0}.dnn-folders-component ul li>div{padding-top:0;cursor:pointer;float:left;width:100%;padding-top:4px}.dnn-folders-component ul li>div:hover{color:#1e88c3}.dnn-folders-component ul li>ul{height:0;overflow:hidden;float:left;width:100%}.dnn-folders-component ul li.open>ul{height:auto}.dnn-folders-component ul li.open>.has-children{transform:rotate(90deg)}.dnn-folders-component ul li .icon{width:14px;float:left;margin-right:5px;height:13px;cursor:pointer}.dnn-folders-component ul li .item-name{cursor:pointer;float:left;width:calc(100% - 30px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnn-folders-component ul li .item-name.none-specified{font-weight:700}.dnn-folders-component ul li .has-children{position:absolute;left:-15px;top:1px;width:10px;height:10px;cursor:pointer;transition:.18s}.dnn-folders-component ul li .has-children:after{content:"";position:absolute;left:4px;top:1px;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:4px solid #6f7273}',""])},function(e,t,n){t=e.exports=n(85)(),t.push([e.id,'@media only screen and (min-device-width:768px) and (max-device-width:1024px){.rm-container #Assets-panel div#folder-picker div.selected-item{margin-left:-20px}}.rm-container #Assets-panel #assets-header.socialpanelheader{padding-bottom:0;padding:0;min-height:103px;max-height:103px;box-sizing:border-box!important;box-shadow:0 1px 2px -1px rgba(0,0,0,.2);position:relative}.rm-container #Assets-panel #assets-header.socialpanelheader>h3{float:left;margin:14px 0 0}.rm-container #Assets-panel #assets-header.socialpanelheader:after{border:0}.rm-container #Assets-panel #assets-header.socialpanelheader>div.right-container>div{float:right}.rm-container #Assets-panel #assets-header.socialpanelheader>div.right-container>div:first-child{margin-left:12px}.rm-container #Assets-panel #assets-header.socialpanelheader a.add-folder{background-image:url("/DesktopModules/ResourceManager/Images/icon-add-folder.png");background-repeat:no-repeat;background-position:50%;display:inline-block;height:32px;padding:0;width:32px}.rm-container #Assets-panel #assets-header.socialpanelheader a.add-folder:hover{background-color:#d9ecfa}.rm-container #Assets-panel #assets-header.socialpanelheader .right-container{position:absolute;right:0;top:50%;transform:translateY(-50%)}.rm-container #Assets-panel .rm-button.primary{background-color:#1e88c3;border:none;border-radius:3px;color:#fff}.rm-container #Assets-panel .rm-button.primary,.rm-container #Assets-panel .rm-button.secondary{display:inline-block;padding:0 16px;height:42px;line-height:42px;text-align:center;box-sizing:border-box;vertical-align:top;min-width:106px;cursor:pointer}.rm-container #Assets-panel .rm-button.secondary{border:1px solid #1e88c3;border-radius:3px;color:#1e88c3;margin-right:10px}.rm-container #Assets-panel .rm-button.primary.normal,.rm-container #Assets-panel .rm-button.secondary.normal{height:35px;line-height:35px;min-width:92px}.rm-container #Assets-panel #assets-header.socialpanelheader a{cursor:pointer}.rm-container #Assets-panel #assets-header.socialpanelheader div.folder-picker-container{display:inline-block;vertical-align:top}.rm-container #Assets-panel .assets-body{margin-top:0;position:relative}.rm-container #Assets-panel .assets-body .header-container{padding:10px 0;height:51px;border-bottom:1px solid #c8c8c8;box-sizing:border-box}.rm-container #Assets-panel .assets-body .header-container .assets-input{margin-left:5px;box-shadow:none}.rm-container #Assets-panel .assets-body .header-container .assets-input::-webkit-input-placeholder{font-size:12px}.rm-container #Assets-panel .assets-body .header-container .assets-input:-moz-placeholder,.rm-container #Assets-panel .assets-body .header-container .assets-input::-moz-placeholder{font-size:12px}.rm-container #Assets-panel .assets-body .header-container input.assets-input:-ms-input-placeholder{font-size:12px;min-width:123px;min-height:16px}.rm-container #Assets-panel .assets-body .header-container .assets-input,.rm-container #Assets-panel input,.rm-container #Assets-panel select,.rm-container #Assets-panel textarea{border:1px solid #ddd;padding:8px 16px;border-radius:3px;background-color:#fff}.rm-container #Assets-panel .assets-body .header-container input[type=search].assets-input{-webkit-appearance:none;font-weight:700;padding-right:29px;margin:0;width:calc(100% - 24px);border:none;background:none;outline:none}.rm-container #Assets-panel .assets-body .header-container .dnnDropDownList .selected-item{border:1px solid #ddd;box-shadow:none;background:#fff}.rm-container #Assets-panel .assets-body .header-container .assets-input[type=search]::-webkit-search-cancel-button{display:none}.rm-container #Assets-panel .assets-body .header-container .assets-input[type=search]::-ms-clear{display:none;width:0;height:0}.rm-container #Assets-panel .assets-body .header-container a.search-button{background-image:url("/DesktopModules/ResourceManager/Images/search.svg");background-repeat:no-repeat;background-position:50%;display:inline-block;width:22px;height:20px;right:24px;position:absolute;top:8px;cursor:pointer}.rm-container #Assets-panel .assets-body .header-container a.sync-button{background-image:url(/DesktopModules/ResourceManager/Images/redeploy.svg);background-repeat:no-repeat;background-position:50%;display:inline-block;width:22px;height:20px;top:7px;position:absolute;right:0;cursor:pointer}.rm-container #Assets-panel .assets-body .header-container{color:#46292b}.rm-container #Assets-panel .assets-body .header-container .folder-picker-container,.rm-container #Assets-panel .assets-body .header-container .sort-container{height:31px;border-right:1px solid #c8c8c8}.rm-container #Assets-panel .assets-body .header-container .folder-picker-container span{display:block;margin-top:7px}.rm-container #Assets-panel .assets-body .header-container .folder-picker-container .dnn-folder-selector .selected-item{padding:7px 15px}.rm-container #Assets-panel .assets-body .header-container .sort-container .dnn-dropdown{width:100%;background:none}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder{width:100%;vertical-align:top}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder *{box-sizing:border-box}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder .selected-item{border:none;box-shadow:none;background:none}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder .selected-item a{font-weight:700;padding:7px 0;border-left:none;background:none;position:relative;color:#4b4e4f;height:32px}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder .selected-item a:after{content:"";display:block;width:0;height:0;position:absolute;right:0;top:14px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:4px solid #4b4e4f}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder .selected-item a.opened{color:#1e88c3;background:none}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder .selected-item a.opened:after{border-top-color:#1e88c3}.rm-container #Assets-panel .assets-body .dt-container{width:267px;background:#fff;border:1px solid #c8c8c8;border-radius:3px;box-shadow:0 0 20px 0 gba(0,0,0,.2);top:42px;height:330px}.rm-container #Assets-panel .assets-body .dt-container .dt-header{margin:20px 20px 13px;background:none;border:none;box-shadow:none;padding:0}.rm-container #Assets-panel .assets-body .dt-container .dt-header .sort-button{display:none}.rm-container #Assets-panel .assets-body .dt-container .dt-header .search-container{margin:0;position:relative}.rm-container #Assets-panel .assets-body .dt-container .dt-header .search-container .search-input-container{border:1px solid #c8c8c8;border-radius:0;padding:0 32px 0 0}.rm-container #Assets-panel .assets-body .dt-container .dt-header .search-container .search-input-container input{background-color:transparent;border-radius:0;border:none}.rm-container #Assets-panel .assets-body .dt-container .dt-header .search-container .clear-button{right:32px;border:none}.rm-container #Assets-panel .assets-body .dt-container .dt-header .search-container .search-button{position:absolute;right:1px;top:1px;width:32px;height:32px;background-image:url(/DesktopModules/ResourceManager/Images/search.png);background-repeat:no-repeat;background-position:50%}.rm-container #Assets-panel .assets-body .dt-container .dt-content{margin:65px 20px 0;border:1px solid #c8c8c8;height:224px;width:auto;position:relative;overflow:hidden}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes.tv-root{margin:4px 4px 0 -10px}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes li.tv-node{list-style:none;padding:0 0 0 16px}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.text{background:url(/DesktopModules/ResourceManager/Images/folder.png) no-repeat 2px 0;border:1px solid transparent;color:#6f7273;padding:0 8px 0 24px;text-decoration:none}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.text.selected{font-weight:700}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.text:hover{text-decoration:none;background-image:url(/DesktopModules/ResourceManager/Images/folder-hover.png);color:#1e88c3;border:1px solid transparent}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.icon{text-decoration:none;display:inline-block;padding:0;height:16px;width:16px;border:1px solid transparent;outline:none;vertical-align:middle;cursor:pointer}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.icon.rm-expanded{background:url(/DesktopModules/ResourceManager/Images/tree-sprite.png) no-repeat 0 -18px}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.icon.collapsed{background:url(/DesktopModules/ResourceManager/Images/tree-sprite.png) no-repeat 0 -2px}.rm-container #Assets-panel .assets-body .dt-container .dt-footer{background:none;margin:10px 20px 20px;border:none}.rm-container #Assets-panel .assets-body .dt-container .dt-footer .result{margin:10px 0 0}.rm-container #Assets-panel .assets-body .dt-container .dt-footer .resizer{display:none}.rm-container #Assets-panel .select-destination-folder{width:500px;margin:30px auto}.rm-container #Assets-panel .select-destination-folder .dt-container{width:100%;box-shadow:none;border:none}.rm-container #Assets-panel .select-destination-folder .dt-container .dt-content{margin-top:20px}.rm-container #Assets-panel .assets-body .header-container .search-box-container,.rm-container #Assets-panel .assets-body .header-container .sort-container{position:relative;display:block;width:33%;float:left}.rm-container #Assets-panel .breadcrumbs-container{position:absolute;width:100%;font-size:0;line-height:0;text-transform:uppercase;font-weight:700;left:0;bottom:0}.rm-container #Assets-panel .breadcrumbs-container>div{height:20px;line-height:20px;background:0;color:#1e88c3;font-weight:700;text-transform:uppercase;cursor:pointer}.rm-container #Assets-panel .breadcrumbs-container>div:first-child:not(:last-child){padding-right:16px;position:relative;display:inline-block}.rm-container #Assets-panel .breadcrumbs-container>div:first-child:last-child{width:150px;margin-left:0}.rm-container #Assets-panel .breadcrumbs-container>div:not(:first-child):not(:last-child){padding-right:10px;position:relative;margin-left:25px;box-sizing:border-box}.rm-container #Assets-panel .breadcrumbs-container>div:not(:last-child):after{content:"";position:absolute;right:-15px;top:0;width:20px;height:32px;background-image:url(/DesktopModules/ResourceManager/Images/arrow_forward.svg);background-repeat:no-repeat;background-position:50%}.rm-container #Assets-panel .breadcrumbs-container>div:last-child{color:#1e88c3;font-family:proxima_nova,Arial;text-decoration:none;font-size:14px;padding-right:10px;position:relative;margin-left:25px;cursor:default}.rm-container #Assets-panel .breadcrumbs-container div{display:inline-block;height:32px;line-height:32px;font-family:proxima_nova,Arial;text-decoration:none;font-size:14px;max-width:20%;color:#4b4e4f}.rm-container #Assets-panel .breadcrumbs-container div>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rm-container #Assets-panel div.rm-field{position:relative;display:inline-block;margin:32px 0 0;min-width:325px;vertical-align:top}.rm-container #Assets-panel div.rm-field.long{margin-right:340px}.rm-container #Assets-panel div.rm-field.right{min-width:325px}.rm-container #Assets-panel div.rm-field.hide{visibility:hidden;margin:32px 0 0}.rm-container #Assets-panel div.versioning{margin:20px 20px 0 0}.rm-container #Assets-panel div.versioning>input{vertical-align:middle;margin-right:5px}.rm-container #Assets-panel div.rm-field>label{display:block;margin-bottom:5px}.rm-container #Assets-panel div.rm-field>input[type=text],.rm-container #Assets-panel div.rm-field>select,.rm-container #Assets-panel div.rm-field>textarea{width:100%;box-sizing:border-box;min-height:34px;border:1px solid #7f7f7f;border-radius:0}.rm-container #Assets-panel div.rm-field>textarea#description{min-height:135px}.rm-container #Assets-panel div.file-upload-panel{margin:1px 1px 30px}.rm-container #Assets-panel div.file-upload-panel .dnn-file-upload{width:100%;box-sizing:border-box;float:none;margin:auto}.rm-container #Assets-panel div.file-upload-panel .dnn-file-upload span{float:none}.rm-container #Assets-panel .container-main .toolbar-main{height:70px;width:860px;background-color:#e6e6e6}.rm-container #Assets-panel .container-main .filter-results{height:50px;width:860px;padding-bottom:0}.rm-container #Assets-panel .page-title{font-family:Arial,Helvetica,sans-serif;font-size:24px}.rm-container #Assets-panel div.main-container{margin-top:16px;position:relative;overflow:auto}.rm-container #Assets-panel div.item-container{width:100%;overflow-y:auto;overflow-x:visible}.rm-container #Assets-panel div.item-container.empty .rm_infinite-scroll-container{display:none}.rm-container #Assets-panel div.item-container.empty:not(.loading){background-image:url(/DesktopModules/ResourceManager/Images/folder-empty-state-asset-manager.png);background-repeat:no-repeat;background-position:center 120px;min-height:465px}.rm-container #Assets-panel div.item-container.empty.rm_search:not(.loading){background-image:url(/DesktopModules/ResourceManager/Images/search-glass-no-results.png)}.rm-container #Assets-panel div.item-container>div.empty-label{display:none;color:#aaa;max-width:250px;text-align:center;top:240px;position:relative;margin-left:auto;margin-right:auto}.rm-container #Assets-panel div.item-container.empty:not(.rm_search):not(.loading)>div.empty-label.rm-folder{display:block}.rm-container #Assets-panel div.item-container.empty.rm_search:not(.loading)>div.empty-label.rm_search{display:block;top:180px}.rm-container #Assets-panel div.item-container>div.empty-label>span.empty-title{font-size:22px;font-weight:700;display:block;margin:10px 0}.rm-container #Assets-panel div.item-container>div.empty-label>span.empty-subtitle{font-size:15px}.rm-container #Assets-panel div.item-container.drop-target{border:10px dashed #0087c6;padding:0 0 5px 5px;overflow:hidden}.rm-container #Assets-panel .item-container .rm-card{position:relative;height:212px;width:100%;padding:20px;bottom:0;font-family:Proxima Nova-light,HelveticaNeue-Light,Arial-light,Helvetica,sans-serif;box-shadow:0 0 4px 0 rgba(0,0,0,.3);border-radius:3px;background-color:#79bdd8;color:#fff;font-size:17px;margin:15px 0 5px;float:left;overflow:hidden;transition:.2s;box-sizing:border-box}.rm-container #Assets-panel .item-container .rm-card.rm-folder{cursor:pointer}.rm-container #Assets-panel div.item-container:not(.disabled) .rm-card.selected,.rm-container #Assets-panel div.item-container:not(.disabled) .rm-card:hover{background-color:#3089c6;transition:.2s}.rm-container #Assets-panel .item.highlight{animation:card-highlight 1.5s 1}@keyframes card-highlight{0%{box-shadow:0 0 0 0 rgba(0,220,0,0)}25%{box-shadow:0 0 5px 8px #7de2a6}50%{box-shadow:0 0 0 0 rgba(0,220,0,0)}75%{box-shadow:0 0 5px 8px #7de2a6}to{box-shadow:0 0 0 0 rgba(0,220,0,0)}}.rm-container #Assets-panel .rm-card-container{float:left;width:22%;margin-right:4%}.rm-container #Assets-panel .rm-card-container:nth-of-type(4n){margin-right:0}.rm-container #Assets-panel .item.rm-card{float:none}.rm-container #Assets-panel .item.rm-card .card-icons{height:58px;width:53px;position:absolute;left:0;top:0}.rm-container #Assets-panel .item.rm-card .text-card{position:absolute;bottom:22px;width:149px;overflow:hidden;word-wrap:break-word;height:30px;line-height:15px}.rm-container #Assets-panel .item.rm-card .text-card p{margin:0}.rm-container #Assets-panel .item.rm-card .text-card:before{content:"";float:left;width:5px;height:30px}.rm-container #Assets-panel .item.rm-card .text-card>:first-child{float:right;width:100%;margin-left:-5px}.rm-container #Assets-panel .item.rm-card .text-card:after{content:"\\2026";box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;float:right;position:relative;top:-15px;left:100%;width:1em;margin-left:-1em;padding-right:5px;text-align:right;background-color:#79bdd8;transition:.2s}.rm-container #Assets-panel div.item-container:not(.disabled) .rm-card.selected .text-card:after,.rm-container #Assets-panel div.item-container:not(.disabled) .rm-card:hover .text-card:after{background-color:#3089c6;transition:.2s}.rm-container #Assets-panel .item.rm-card .text-card font.highlight{background-color:#ccc}.rm-container #Assets-panel .rm-circular{width:100%;height:100%;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;border:12px solid #79bdd8;margin-right:auto;margin-left:auto;background-position:50%;background-repeat:no-repeat;background-color:#eee;box-sizing:border-box}.rm-container #Assets-panel .rm-circular.rm-folder{background-color:#9edcef}.rm-container #Assets-panel .rm-card .image-center{margin-right:auto;margin-left:auto;height:110px;width:110px;border:2px solid #fff;border-radius:50%;position:relative}.rm-container #Assets-panel .rm-card .overlay-disabled{height:213px;width:190px;position:absolute;left:0;top:0;background-color:#000;border-radius:3px;opacity:0;visibility:hidden;-webkit-transition:visibility .2s linear,opacity .2s linear;-moz-transition:visibility .2s linear,opacity .2s linear;-o-transition:visibility .2s linear,opacity .2s linear}.rm-container #Assets-panel div.item-container.disabled .rm-card{cursor:auto}.rm-container #Assets-panel div.item-container.disabled .rm-card .overlay-disabled{opacity:.5;visibility:visible}.rm-container #Assets-panel .rm-card>div.rm-actions{position:absolute;right:-32px;width:32px;background-color:#236f99;top:0;bottom:0;transition:.2s}.rm-container #Assets-panel .rm-card>div.rm-actions>div{cursor:pointer}.rm-container #Assets-panel .rm-card.selected>div.rm-actions,.rm-container #Assets-panel .rm-card:hover>div.rm-actions{right:0;transition:.2s;transition-delay:.4s}.rm-container #Assets-panel .rm-card>div.unpublished{position:absolute;width:32px;height:32px;top:6px;left:6px;background-image:url(/DesktopModules/ResourceManager/Images/unpublished.svg)}.rm-container #Assets-panel .rm-card>div.rm-actions>div{height:32px;background-position:50%;background-repeat:no-repeat;position:absolute;width:100%;background-size:80%}.rm-container #Assets-panel .rm-card>div.rm-actions>div.rm-edit{top:0;background-image:url(/DesktopModules/ResourceManager/Images/edit.svg)}.rm-container #Assets-panel .rm-card>div.rm-actions>div.rm-link{top:32px;background-image:url(/DesktopModules/ResourceManager/Images/clipboard.svg)}.rm-container #Assets-panel .rm-card>div.rm-actions>div.rm-download{top:96px;background-image:url(/DesktopModules/ResourceManager/Images/download.svg)}.rm-container #Assets-panel .rm-card>div.rm-actions>div.rm-delete{background-image:url(/DesktopModules/ResourceManager/Images/delete.svg);background-color:#195774;bottom:0}.rm-container #Assets-panel .top-panel.add-folder{max-height:0;overflow:hidden;height:100%;transition:max-height .5s ease}.rm-container #Assets-panel .top-panel.add-folder.rm-expanded{max-height:970px}.rm-container #Assets-panel .top-panel.add-folder .rm-button{margin-bottom:30px}.rm-container #Assets-panel .folder-adding .folder-parent-label{margin-right:10px}.rm-container #Assets-panel .top-panel.add-folder>.folder-adding{margin:30px;margin-bottom:45px}.rm-container #Assets-panel .top-panel.add-asset{max-height:0;overflow:hidden;height:100%;transition:max-height .5s ease}.rm-container #Assets-panel .top-panel.add-asset.rm-expanded{max-height:970px}.rm-container #Assets-panel .top-panel.add-asset .close{float:none;margin-bottom:30px}.rm-container #Assets-panel .details-panel{border:none;border-radius:0;padding:30px}.rm-container #Assets-panel div.item-details{float:left;margin:0;border-top:2px solid #1e88c3;border-bottom:2px solid #1e88c3;width:100%;padding:25px 10px;box-sizing:border-box;overflow:hidden}.rm-container #Assets-panel ul.tabControl{background-color:#fff;border-radius:0;border:none;border-bottom:1px solid #ddd}.rm-container #Assets-panel ul.tabControl>li{text-transform:uppercase;font-weight:700;padding:10px 0;margin:0 20px}.rm-container #Assets-panel ul.tabControl>li.selected{border-bottom:3px solid #1e88c3}.rm-container #Assets-panel div.details-icon{display:inline-block;width:50px;height:50px;border-radius:50%;box-shadow:0 0 0 1px #79bdd8;border:5px solid #fff;background-position:50%;background-repeat:no-repeat;float:left;margin:0 15px 25px 0;background-color:#eee}.rm-container #Assets-panel div.details-icon.folder{background-color:#9edcef;background-size:50%}.rm-container #Assets-panel div.details-info{padding-top:12px;position:relative}.rm-container #Assets-panel div.details-field{display:inline-block;margin-bottom:8px;max-width:200px;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.rm-container #Assets-panel div.details-field:first-child{margin-right:16px;padding-right:16px;border-right:1px solid #c8c8c8}.rm-container #Assets-panel div.details-field.rm-url{max-width:none}.rm-container #Assets-panel div.details-field a{color:#0087c6;text-decoration:none}.rm-container #Assets-panel div.details-field a:hover{color:#2fa6eb}.rm-container #Assets-panel div.details-field+div.vertical-separator{margin:0 16px;border-left:1px solid #e2e2e2;display:inline;height:16px}.rm-container #Assets-panel div.details-field+div.line-break{clear:right}.rm-container #Assets-panel div.details-field.right{position:absolute;right:0;top:12px}.rm-container #Assets-panel span.details-label{font-weight:700;margin-right:10px}.rm-container #Assets-panel span.details-label.checkbox{vertical-align:top;line-height:22px;margin-right:27px;color:#46292b}.rm-container #Assets-panel div.file-panel{padding:25px;background-color:#fff}.rm-container #Assets-panel div.separator{clear:both;border-bottom:1px solid #c8c8c8;margin-bottom:8px}.rm-container #Assets-panel label{font-weight:700}.rm-container #Assets-panel label.formRequired:after{content:"*";display:inline-block;margin:0 0 0 5px;color:red;font-size:16px;line-height:1em;font-family:proxima_nova_semibold}.rm-container #Assets-panel div.cancel{width:50%;float:left;margin:10px 0 0;position:relative}.rm-container #Assets-panel div.cancel>a{display:block;float:right;margin-right:5px}.rm-container #Assets-panel div.close{width:100%;float:left;text-align:center}.rm-container #Assets-panel div.close>a{margin-right:auto;margin-left:auto}.rm-container #Assets-panel div.save{width:50%;float:left;margin:10px 0 0;position:relative}.rm-container #Assets-panel div.details-selector{position:relative}.rm-container #Assets-panel div.details-selector>div{margin:auto;content:"";width:0;height:0;border-style:solid;border-width:8px 8px 0;border-color:#3089c6 transparent transparent;position:relative}.rm-container #Assets-panel .rm-clear{clear:both}.rm-container .dnn-slide-in-out-enter{max-height:0}.rm-container .dnn-slide-in-out-enter.dnn-slide-in-out-enter-active{max-height:970px;transition:max-height .5s ease-in}.rm-container .dnn-slide-in-out-leave{max-height:970px}.rm-container .dnn-slide-in-out-leave.dnn-slide-in-out-leave-active{max-height:0;transition:max-height .3s ease-in}.rm-container .loading:after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;background:hsla(0,0%,100%,.7) url(/DesktopModules/ResourceManager/Images/loading.gif) no-repeat 50%;z-index:99999}.rm-container .three-columns{display:block;width:33%;float:left}.rm-container .dnn-dropdown{height:31px;background-color:#fff}.rm-container .dnn-dropdown .collapsible-content{margin:0;box-shadow:none}.rm-container .dnn-dropdown li,.rm-container .dnn-dropdown ul{margin:0;list-style:none;box-sizing:border-box;height:28px}.rm-container .rm-field .dnn-dropdown{width:100%}.rm-container label.rm-error{color:red}.rm-container .file-upload-container .file-upload-panel{position:relative;border:1px solid #666;padding:10px;margin-bottom:30px;min-height:163px;color:#959695;transition:.2s linear;cursor:pointer}.rm-container .file-upload-container .file-upload-panel:hover{color:#fff;background-color:rgba(30,136,195,.6)}.rm-container .file-upload-container .file-upload-panel span{overflow:hidden!important;width:140px!important;display:block!important;position:relative;text-transform:none;font-size:14px;padding-top:95px;text-align:center;margin:0 auto}.rm-container .file-upload-container .upload-file{background-image:url(/DesktopModules/ResourceManager/Images/upload.svg);height:40px;width:40px;display:block;position:absolute;top:30px;left:50%;transform:translateX(-50%)}.rm-container .progresses-container{margin:20px 0;max-height:240px;overflow-y:auto}.rm-container .uploading-container{overflow:hidden;border-bottom:1px solid #c8c8c8;padding:6px 0;color:#0a85c3;font-weight:700;font-family:proxima_nova,Arial;font-size:13px}.rm-container .uploading-container .file-upload-thumbnail{background:0;border-radius:0;border:2px solid #0a85c3;padding:2px;float:left;position:relative;height:76px;width:76px;line-height:76px;text-align:center}.rm-container .uploading-container .file-upload-thumbnail img{max-height:100%;max-width:100%}.rm-container .uploading-container .file-name-container,.rm-container .uploading-container .progress-bar-container{width:calc(100% - 100px);float:right}.rm-container .uploading-container .file-name-container span{display:block;width:100%}.rm-container .uploading-container .progress-bar-container{margin-top:18px;height:5px;background-color:#c7c7c7}.rm-container .uploading-container .progress-bar-container .progress-bar{background-color:#0a85c3;height:100%;transition:.5s}.rm-container .uploading-container.rm-error{color:red}.rm-container .uploading-container.rm-error .file-upload-thumbnail{border:2px solid #c8c8c8;background-image:url(/DesktopModules/ResourceManager/Images/loader_failed.svg)}.rm-container .uploading-container.rm-error .progress-bar{background-color:red}.rm-container .uploading-container.rm-uploading .file-upload-thumbnail{border:2px solid #c8c8c8;background:url(/DesktopModules/ResourceManager/Images/dnnanim.gif) no-repeat 50%}.rm-container .uploading-container.rm-stopped{color:#777}.rm-container .uploading-container.rm-stopped .file-upload-thumbnail{border:2px solid #c8c8c8}.rm-container .rm-error label{color:red}.rm-container .dnn-switch-container{display:inline-block;float:none;padding:0}.rm-container .dnn-dropdown .collapsible-label{padding:7px 15px;box-sizing:border-box}.ReactModalPortal .modal-header{background-color:#092836;border:none}.ReactModalPortal .modal-header h3{color:#fff;margin:0}.ReactModalPortal .rm-dialog-modal-label{float:none;width:100%;text-align:center}.ReactModalPortal .rm-dialog-modal-label label{margin:0}.ReactModalPortal .rm-form-buttons-container{text-align:center;margin-top:20px}.ReactModalPortal .rm-form-buttons-container .rm-common-button{margin-left:10px}svg{fill:#c8c8c8}svg:hover{fill:#6f7273}svg:active{fill:#1e88c3}button.rm-common-button{border:1px solid #1e88c3;height:34px;min-width:100px;padding:0 22px;font-size:10pt;color:#1e88c3;background:#fff;border-radius:3px;cursor:pointer;font-family:Helvetica,Arial,sans-serif}button.rm-common-button:hover{color:#21a3da;border-color:#21a3da}button.rm-common-button:focus{outline:none}button.rm-common-button:active{color:#226f9b;border-color:#226f9b}button.rm-common-button:disabled{color:#c8c8c8;border-color:#c8c8c8;cursor:not-allowed}button.rm-common-button.large{height:44px}button.rm-common-button[role=primary]{background:#1e88c3;border:none;color:#fff}button.rm-common-button[role=primary]:hover{background:#21a3da}button.rm-common-button[role=primary]:active{background:#226f9b}button.rm-common-button[role=primary]:disabled{color:#959695;background:#e5e7e6;cursor:not-allowed}',""]); -},function(e,t,n){!function(t,r){e.exports=r(n(51),n(11),n(1),n(87),n(37),n(20),n(150))}(this,function(e,t,r,o,i,a,s){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n0){var t=w;this.setState({fixedHeight:t})}}},{key:"componentWillReceiveProps",value:function(e){var t=this;if(e.options&&e.options.length>0){var n=w;this.setState({fixedHeight:n})}e.isDropDownOpen!==this.props.isDropDownOpen&&this.setState({dropDownOpen:!e.isDropDownOpen},function(){return t.toggleDropdown(!0)})}},{key:"componentDidMount",value:function(){var e=this.props;e.closeOnClick&&document.addEventListener("mousedown",this.handleClick),this._isMounted=!0}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.handleClick),this._isMounted=!1}},{key:"handleClick",value:function(e){var t=this.props;this._isMounted&&t.closeOnClick&&(d["default"].findDOMNode(this).contains(e.target)||this.setState({dropDownOpen:!1,closestValue:null,dropdownText:""}))}},{key:"onSelect",value:function(e){var t=this.props;t.enabled&&(this.setState({dropDownOpen:!1,closestValue:null,dropdownText:""}),t.onSelect&&(this.setState({selectedOption:e}),t.onSelect(e)))}},{key:"getClassName",value:function(){var e=this.props,t=this.state,n="dnn-dropdown";return n+=e.withBorder?" with-border":"",n+=" "+e.size,n+=" "+e.className,n+=e.enabled?t.dropDownOpen?" open":"":" disabled"}},{key:"getDropdownLabel",value:function(){var e=this.props,t=e.label;if(void 0!==e.value&&void 0!==e.options&&e.options.length>0){var n=e.options.find(function(t){return t.value===e.value});n&&n.label&&(t=n.label)}return e.prependWith?l["default"].createElement("span",{className:"dropdown-prepend"},l["default"].createElement("strong",null,e.prependWith)," ",t):t}},{key:"getIsMultiLineLabel",value:function(){return this.props.labelIsMultiLine?"":" no-wrap"}},{key:"findMatchingItem",value:function(e){var t=this.props,n=this.state,r=n.dropdownText.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),o=t.getLabelText?t.getLabelText(e.label):e.label;return o.match(new RegExp("^"+r,"gi"))}},{key:"searchItems",value:function(){var e=this,t=this.props,n=t.options.findIndex(this.findMatchingItem,this);if(n){var r=this.getOption(n).value;this.setState({closestValue:r,currentIndex:n},function(){e.setState({dropdownText:""}),e.dropdownSearch.value="",setTimeout(function(){return e.scrollToSelectedItem()},100)})}}},{key:"scrollToSelectedItem",value:function(e){var t=this.selectedOptionElement?this.selectedOptionElement:null;if(t){var n=d["default"].findDOMNode(t),r=n.offsetTop;"ArrowUp"==e&&(r=n.offsetTop-2*n.clientHeight),b["default"].top(d["default"].findDOMNode(this.scrollBar).childNodes[0],r)}}},{key:"onDropdownSearch",value:function(e){var t=this;this.setState({dropdownText:e.target.value},function(){t.searchItems()})}},{key:"onKeyDown",value:function(e){switch(e.key){case"Enter":this.state.closestValue&&null!==this.state.closestValue.value?(this.onSelect(this.state.closestValue),this.dropdownSearch.blur()):this.onSelect(this.state.selectedOption);break;case"ArrowUp":this.onArrowUp(e.key);break;case"ArrowDown":this.onArrowDown(e.key)}}},{key:"getCurrentIndex",value:function(){var e=this.optionItems?this.optionItems.length:0,t=void 0!=this.state.currentIndex?this.state.currentIndex:-1;return t>-1&&t0?t--:t;this.setState({currentIndex:t,selectedOption:this.getOption(t),closestValue:null,ignorePreselection:!0}),this.scrollToSelectedItem(n,e)}},{key:"initOptions",value:function(){var e=this,t=this.props;this.optionItems=[];var n=t.options&&t.options.map(function(t,n){return e.optionItems.push(t),l["default"].createElement("li",{onClick:e.onSelect.bind(e,t),key:n,ref:e.isSelectedItem(n)?e.addOptionRef.bind(e):function(e){return e},className:e.getOptionClassName(t,n)},t.label)});return n}},{key:"getOptionClassName",value:function(e,t){var n=this.props,r=this.state,o=this.getCurrentIndex(),i=t===o,a=!this.state.ignorePreselection&&null!=n.value&&e.value===n.value&&null===r.closestValue&&o<0,s=null!=r.closestValue&&e.value===r.closestValue,l=o===-1?a:i||s;return l?"dnn-dropdown-option selected":"dnn-dropdown-option"}},{key:"isSelectedItem",value:function(e){return e==this.state.currentIndex}},{key:"addOptionRef",value:function(e){e&&(this.selectedOptionElement=e)}},{key:"getOption",value:function(e){var t=this.optionItems;return t&&void 0!==t[e]?t[e]:null}},{key:"render",value:function(){var e=this,t=this.props,n=this.state;return l["default"].createElement("div",{className:this.getClassName(),style:t.style},l["default"].createElement("div",{className:"collapsible-label"+this.getIsMultiLineLabel(),onClick:this.toggleDropdown.bind(this),title:this.props.title},this.getDropdownLabel()),l["default"].createElement("input",{type:"text",onChange:this.onDropdownSearch.bind(this),ref:function(t){return e.dropdownSearch=t},value:this.state.dropdownText,onKeyDown:this.onKeyDown.bind(this),style:{position:"absolute",opacity:0,pointerEvents:"none",width:0,height:0,padding:0,margin:0},"aria-label":"Search"}),t.withIcon&&l["default"].createElement("div",{className:"dropdown-icon",dangerouslySetInnerHTML:{__html:g.ArrowDownIcon},onClick:this.toggleDropdown.bind(this)}),l["default"].createElement("div",{className:"collapsible-content"+(n.dropDownOpen?" open":"")},l["default"].createElement(h["default"],{isOpened:n.dropDownOpen},l["default"].createElement("div",null,l["default"].createElement(v["default"],{ref:function(t){return e.scrollBar=t},autoHide:this.props.autoHide,autoHeight:!0,autoHeightMin:w,style:t.scrollAreaStyle,onUpdate:this.props.onScrollUpdate,renderTrackHorizontal:function(){return l["default"].createElement("div",null)}},l["default"].createElement("ul",{className:"dnn-dropdown-options",ref:function(t){return e.dropDownListElement=t}},this.initOptions()))))))}}]),t}(s.Component);x.propTypes={label:c["default"].string,fixedHeight:c["default"].number,collapsibleWidth:c["default"].number,collapsibleHeight:c["default"].number,keepCollapsedContent:c["default"].bool,className:c["default"].string,scrollAreaStyle:c["default"].object,options:c["default"].array,onSelect:c["default"].func,size:c["default"].string,withBorder:c["default"].bool,withIcon:c["default"].bool,enabled:c["default"].bool,autoHide:c["default"].bool,value:c["default"].oneOfType([c["default"].number,c["default"].string]),closeOnClick:c["default"].bool,prependWith:c["default"].string,labelIsMultiLine:c["default"].bool,title:c["default"].string,onScrollUpdate:c["default"].func,isDropDownOpen:c["default"].bool,selectedIndex:c["default"].number,onArrowKey:c["default"].func,getLabelText:c["default"].func.isRequired},x.defaultProps={label:"-- Select --",withIcon:!0,withBorder:!0,size:"small",closeOnClick:!0,enabled:!0,autoHide:!0,className:"",isDropDownOpen:!1,selectedIndex:-1,getLabelText:function(e){return e}},t["default"]=x}).call(this)}finally{}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,"svg{fill:#c8c8c8}svg:hover{fill:#6f7273}svg:active{fill:#1e88c3}.dnn-dropdown{position:relative;display:inline-block;cursor:pointer}.dnn-dropdown.disabled{background:#e5e7e6;color:#959695;cursor:not-allowed}.dnn-dropdown.disabled svg{fill:#959695}.dnn-dropdown.disabled .collapsible-label{cursor:not-allowed}.dnn-dropdown.open .collapsible-content{background:#fff;border:1px solid #c8c8c8;margin-top:3px}.dnn-dropdown.open.with-border{border:1px solid #1e88c3}.dnn-dropdown.with-border{border:1px solid #959695}.dnn-dropdown.with-border .collapsible-content{box-shadow:none;margin-top:0}.dnn-dropdown.with-border .collapsible-content.open{border:1px solid #c8c8c8;border-top:none}.dnn-dropdown.with-border.disabled{border:1px solid #e5e7e6}.dnn-dropdown.large{padding:12px 40px 12px 15px}.dnn-dropdown.large .dropdown-icon{top:15px}.dnn-dropdown.large .collapsible-label{font-size:14px}.dnn-dropdown.large .collapsible-content{top:43px}.dnn-dropdown.large .collapsible-content ul li{padding:11px 15px}.dnn-dropdown .dropdown-icon{position:absolute;width:13px;height:13px;right:10px;top:9px}.dnn-dropdown .dropdown-icon svg{fill:#6f7273}.dnn-dropdown .collapsible-label{cursor:pointer;font-family:inherit;position:relative;width:100%;font-size:13px;border:none;color:#46292b;overflow:hidden;text-overflow:ellipsis;padding:8px 40px 8px 15px}.dnn-dropdown .collapsible-label.no-wrap{white-space:nowrap}.dnn-dropdown .collapsible-label .dropdown-prepend>strong{margin-right:5px}.dnn-dropdown .collapsible-content{position:absolute;padding:0;left:-1px;top:102%;width:100%;box-sizing:content-box;background-color:#fff;z-index:1000;box-shadow:0 0 20px 0 rgba(0,0,0,.2)}.dnn-dropdown .collapsible-content ul{padding:15px 0}.dnn-dropdown .collapsible-content ul li{padding:6px 15px;text-indent:0;cursor:pointer;font-size:13px;color:#6f7273;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:inline-block;width:100%;box-sizing:border-box}.dnn-dropdown .collapsible-content ul li.selected{color:#1e88c3;font-weight:700}.dnn-dropdown .collapsible-content ul li:hover{background-color:#eff0f0;color:#1e88c3}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){if("object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.UnmountClosed=void 0;var l=Object.assign||function(e){for(var t=1;t0,style:a(d,e.tooltipStyle)}),e.extra)}}]),t}(l.Component);f.propTypes={label:l.PropTypes.string,className:l.PropTypes.string,labelFor:l.PropTypes.string,tooltipMessage:l.PropTypes.oneOfType([l.PropTypes.string,l.PropTypes.array]),tooltipPlace:l.PropTypes.string,tooltipStyle:l.PropTypes.object,tooltipColor:l.PropTypes.string,labelType:l.PropTypes.oneOf(["inline","block"]),style:l.PropTypes.object,extra:l.PropTypes.node,onClick:l.PropTypes.func},f.defaultProps={labelType:"block",className:""},t["default"]=f}).call(this)}finally{}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,"svg{fill:#c8c8c8}svg:hover{fill:#6f7273}svg:active{fill:#1e88c3}.dnn-label{float:left;width:100%}.dnn-label label{margin-right:10px;color:#46292b}.dnn-label.inline{float:left;width:auto;padding-top:7px;margin-right:15px}.dnn-label .dnn-ui-common-tooltip .icon{margin-top:-3px}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a0&&!e.modalWidth&&(t=document.getElementsByClassName("socialpanel")[0].offsetWidth),document.getElementsByClassName("dnn-persona-bar-page-header")&&document.getElementsByClassName("dnn-persona-bar-page-header").length>0&&!e.modalHeight&&(n=document.getElementsByClassName("dnn-persona-bar-page-header")[0].offsetHeight),e.style||{overlay:{zIndex:"99999",backgroundColor:"rgba(0,0,0,0.6)"},content:{top:n+e.dialogVerticalMargin,left:e.dialogHorizontalMargin+85,padding:0,borderRadius:0,border:"none",width:t-2*e.dialogHorizontalMargin,height:e.modalHeight||"60%",backgroundColor:"#FFFFFF",position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",MsUserSelect:"none",boxSizing:"border-box"}}}},{key:"render",value:function(){var e=this.props,t=this.getModalStyles(e),n=this.getScrollbarStyle(e);return u["default"].createElement(p["default"],{isOpen:e.isOpen,onRequestClose:e.onRequestClose,onAfterOpen:e.onAfterOpen,closeTimeoutMS:e.closeTimeoutMS,shouldCloseOnOverlayClick:e.shouldCloseOnOverlayClick,style:t},e.header&&u["default"].createElement("div",{className:"modal-header"},u["default"].createElement("h3",null,e.header),e.headerChildren,u["default"].createElement("div",{className:"close-modal-button",dangerouslySetInnerHTML:{__html:f.XThinIcon},onClick:e.onRequestClose})),u["default"].createElement(d.Scrollbars,{style:n},u["default"].createElement("div",{style:e.contentStyle},e.children)))}}]),t}(l.Component);h.propTypes={isOpen:l.PropTypes.bool,style:l.PropTypes.object,onRequestClose:l.PropTypes.func,children:l.PropTypes.node,dialogVerticalMargin:l.PropTypes.number,dialogHorizontalMargin:l.PropTypes.number,modalWidth:l.PropTypes.number,modalHeight:l.PropTypes.number,modalTopMargin:l.PropTypes.number,header:l.PropTypes.string,headerChildren:l.PropTypes.node,contentStyle:l.PropTypes.object,onAfterOpen:l.PropTypes.func,closeTimeoutMS:l.PropTypes.number,shouldCloseOnOverlayClick:l.PropTypes.bool},h.defaultProps={modalWidth:861,modalTopMargin:100,dialogVerticalMargin:25,dialogHorizontalMargin:30,contentStyle:{padding:"25px 30px"},shouldCloseOnOverlayClick:!0},t["default"]=h},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,"svg{fill:#c8c8c8}svg:hover{fill:#6f7273}svg:active{fill:#1e88c3}.ReactModalPortal{position:relative}.ReactModalPortal .modal-header{width:100%;height:50px;border-bottom:1px solid #c8c8c8}.ReactModalPortal .modal-header h3{font-size:18px;padding:15px 30px;float:left;color:#46292b}.ReactModalPortal .modal-header .close-modal-button{width:16px;height:16px;float:right;padding:17px 20px;cursor:pointer}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(t.sourceMap,r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=(t.media,t.sourceMap);r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]; -}),g=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\t\r\n\t\r\n\t\r\n\r\n\r\n'; -},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='revised no data states'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='AP-401-page-analyticsv-4'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'; -},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\r\n'}])})},function(e,t,n){!function(t,r){e.exports=r(n(93),n(1))}(this,function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=w(F,null,null,null,null,null,t);if(e){var l=E.get(e);a=l._processChildContext(l._context)}else a=C;var c=d(n);if(c){var p=c._currentElement,h=p.props;if(M(h,t)){var m=c._renderedComponent.getPublicInstance(),v=r&&function(){r.call(m)};return V._updateRootComponent(c,s,a,n,v),m}V.unmountComponentAtNode(n)}var g=o(n),y=g&&!!i(g),b=u(n),x=y&&!c&&!b,_=V._renderNewRootComponent(s,n,x,a)._renderedComponent.getPublicInstance();return r&&r.call(_),_},render:function(e,t,n){return V._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:f("40");var t=d(e);return t?(delete j[t._instance.rootID],S.batchedUpdates(l,t,e,!1),!0):(u(e),1===e.nodeType&&e.hasAttribute(A),!1)},_mountImageIntoNode:function(e,t,n,i,a){if(c(t)?void 0:f("41"),i){var s=o(t);if(_.canReuseMarkup(e,s))return void g.precacheNode(n,s);var l=s.getAttribute(_.CHECKSUM_ATTR_NAME);s.removeAttribute(_.CHECKSUM_ATTR_NAME);var u=s.outerHTML;s.setAttribute(_.CHECKSUM_ATTR_NAME,l);var p=e,d=r(p,u),m=" (client) "+p.substring(d-20,d+20)+"\n (server) "+u.substring(d-20,d+20);t.nodeType===N?f("42",m):void 0}if(t.nodeType===N?f("43"):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else k(t,e),g.precacheNode(n,t.firstChild)}};e.exports=V},function(e,t,n){"use strict";var r=n(35),o=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});e.exports=o},function(e,t,n){"use strict";var r=n(3),o=n(15),i=(n(2),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?i.EMPTY:o.isValidElement(e)?"function"==typeof e.type?i.COMPOSITE:i.HOST:void r("26",e)}});e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function t(t,n,r,i,a,s,l){if(i=i||S,s=s||r,null==n[r]){var u=E[a];return t?new o("Required "+u+" `"+s+"` was not specified in "+("`"+i+"`.")):null}return e(n,r,i,a,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,i,a,s){var l=t[n],u=y(l);if(u!==e){var c=E[i],p=b(l);return new o("Invalid "+c+" `"+a+"` of type "+("`"+p+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function s(){return i(O.thatReturns(null))}function l(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var l=E[i],u=y(s);return new o("Invalid "+l+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c>"),C={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:l,element:u(),instanceOf:c,node:h(),objectOf:d,oneOf:p,oneOfType:f,shape:m};o.prototype=Error.prototype,e.exports=C},function(e,t){"use strict";e.exports="15.3.2"},function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t,n){"use strict";function r(e,t){return null==t?o("30"):void 0,null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}var o=n(3);n(2),e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t){"use strict";function n(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=n},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(129);e.exports=r},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";e.exports=n},function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(10),i=null;e.exports=r},function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||e===!1)n=u.create(i);else if("object"==typeof e){var s=e;!s||"function"!=typeof s.type&&"string"!=typeof s.type?a("130",null==s.type?s.type:typeof s.type,r(s._owner)):void 0,"string"==typeof s.type?n=c.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new p(s)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):a("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var a=n(3),s=n(5),l=n(301),u=n(123),c=n(125),p=(n(2),n(4),function(e){this.construct(e)});s(p.prototype,l.Mixin,{_instantiateReactComponent:i}),e.exports=i},function(e,t){"use strict";function n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){"use strict";var r=n(10),o=n(46),i=n(47),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){i(e,o(t))})),e.exports=a},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;astrong{cursor:pointer}.dnn-folder-selector span>strong:hover{text-decoration:underline}.dnn-folder-selector .folder-selector-container{position:absolute;top:calc(100% + 1px);left:-1px;width:100%;border:1px solid #c8c8c8;background:#fff;z-index:1;transition:.2s;overflow:hidden;max-height:0;box-shadow:none;opacity:0}.dnn-folder-selector .folder-selector-container.show{max-height:600px;opacity:1}.dnn-folder-selector .folder-selector-container .inner-box{box-sizing:border-box;padding:20px;float:left;width:100%;height:100%}.dnn-folder-selector .folder-selector-container .inner-box .search{float:left;width:100%;border:1px solid #c8c8c8;position:relative}.dnn-folder-selector .folder-selector-container .inner-box .search .clear-button{position:absolute;right:32px;top:50%;height:26px;margin-top:-13px;font-size:26px;line-height:26px;opacity:.5;cursor:pointer}.dnn-folder-selector .folder-selector-container .inner-box .search .clear-button:hover{opacity:1}.dnn-folder-selector .folder-selector-container .inner-box .search .search-icon{position:absolute;right:0;top:50%;transform:translateY(-50%);height:24px;color:#6f7273}.dnn-folder-selector .folder-selector-container .inner-box .search input[type=text]{float:left;border:none;width:calc(100% - 40px);box-sizing:border-box;outline:none!important;padding:0!important;box-shadow:none;border:none!important;margin-top:3px;margin-left:5px}.dnn-folder-selector .folder-selector-container .inner-box .items{float:left;width:100%;border:1px solid #c8c8c8;height:200px;margin-top:14px}.dnn-folder-selector .folder-selector-container .inner-box .items,.dnn-folder-selector .folder-selector-container .inner-box .items *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dnn-folder-selector .folder-selector-container .inner-box .items .scrollArea{height:100%!important;max-height:none!important}.dnn-folder-selector .folder-selector-container .inner-box .items .scrollArea>div:first-child{box-sizing:content-box;padding-bottom:17px;height:100%}.dnn-folder-selector .folder-selector-container .inner-box .items .scrollArea .dnn-folders-component div.has-children{top:9px}.dnn-folders-component{padding-top:6px}.dnn-folders-component ul{padding-left:20px;box-sizing:border-box}.dnn-folders-component ul li{list-style:none;position:relative;float:left;width:100%;margin-top:0}.dnn-folders-component ul li>div{padding-top:0;cursor:pointer;float:left;width:100%;padding-top:4px}.dnn-folders-component ul li>div:hover{color:#1e88c3}.dnn-folders-component ul li>ul{height:0;overflow:hidden;float:left;width:100%}.dnn-folders-component ul li.open>ul{height:auto}.dnn-folders-component ul li.open>.has-children{transform:rotate(90deg)}.dnn-folders-component ul li .icon{width:14px;float:left;margin-right:5px;height:13px;cursor:pointer}.dnn-folders-component ul li .item-name{cursor:pointer;float:left;width:calc(100% - 30px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnn-folders-component ul li .item-name.none-specified{font-weight:700}.dnn-folders-component ul li .has-children{position:absolute;left:-15px;top:1px;width:10px;height:10px;cursor:pointer;transition:.18s}.dnn-folders-component ul li .has-children:after{content:"";position:absolute;left:4px;top:1px;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:4px solid #6f7273}',""])},function(e,t,n){t=e.exports=n(83)(),t.push([e.id,'@media only screen and (min-device-width:768px) and (max-device-width:1024px){.rm-container #Assets-panel div#folder-picker div.selected-item{margin-left:-20px}}.rm-container #Assets-panel #assets-header.socialpanelheader{padding-bottom:0;padding:0;min-height:103px;max-height:103px;box-sizing:border-box!important;box-shadow:0 1px 2px -1px rgba(0,0,0,.2);position:relative}.rm-container #Assets-panel #assets-header.socialpanelheader>h3{float:left;margin:14px 0 0}.rm-container #Assets-panel #assets-header.socialpanelheader:after{border:0}.rm-container #Assets-panel #assets-header.socialpanelheader>div.right-container>div{float:right}.rm-container #Assets-panel #assets-header.socialpanelheader>div.right-container>div:first-child{margin-left:12px}.rm-container #Assets-panel #assets-header.socialpanelheader a.add-folder{background-image:url("/DesktopModules/ResourceManager/Images/icon-add-folder.png");background-repeat:no-repeat;background-position:50%;display:inline-block;height:32px;padding:0;width:32px}.rm-container #Assets-panel #assets-header.socialpanelheader a.add-folder:hover{background-color:#d9ecfa}.rm-container #Assets-panel #assets-header.socialpanelheader .right-container{position:absolute;right:0;top:50%;transform:translateY(-50%)}.rm-container #Assets-panel .rm-button.primary{background-color:#1e88c3;border:none;border-radius:3px;color:#fff}.rm-container #Assets-panel .rm-button.primary,.rm-container #Assets-panel .rm-button.secondary{display:inline-block;padding:0 16px;height:42px;line-height:42px;text-align:center;box-sizing:border-box;vertical-align:top;min-width:106px;cursor:pointer}.rm-container #Assets-panel .rm-button.secondary{border:1px solid #1e88c3;border-radius:3px;color:#1e88c3;margin-right:10px}.rm-container #Assets-panel .rm-button.primary.normal,.rm-container #Assets-panel .rm-button.secondary.normal{height:35px;line-height:35px;min-width:92px}.rm-container #Assets-panel #assets-header.socialpanelheader a{cursor:pointer}.rm-container #Assets-panel #assets-header.socialpanelheader div.folder-picker-container{display:inline-block;vertical-align:top}.rm-container #Assets-panel .assets-body{margin-top:0;position:relative}.rm-container #Assets-panel .assets-body .header-container{padding:10px 0;height:51px;border-bottom:1px solid #c8c8c8;box-sizing:border-box}.rm-container #Assets-panel .assets-body .header-container .assets-input{margin-left:5px;box-shadow:none}.rm-container #Assets-panel .assets-body .header-container .assets-input::-webkit-input-placeholder{font-size:12px}.rm-container #Assets-panel .assets-body .header-container .assets-input:-moz-placeholder,.rm-container #Assets-panel .assets-body .header-container .assets-input::-moz-placeholder{font-size:12px}.rm-container #Assets-panel .assets-body .header-container input.assets-input:-ms-input-placeholder{font-size:12px;min-width:123px;min-height:16px}.rm-container #Assets-panel .assets-body .header-container .assets-input,.rm-container #Assets-panel input,.rm-container #Assets-panel select,.rm-container #Assets-panel textarea{border:1px solid #ddd;padding:8px 16px;border-radius:3px;background-color:#fff}.rm-container #Assets-panel .assets-body .header-container input[type=search].assets-input{-webkit-appearance:none;font-weight:700;padding-right:29px;margin:0;width:calc(100% - 24px);border:none;background:none;outline:none}.rm-container #Assets-panel .assets-body .header-container .dnnDropDownList .selected-item{border:1px solid #ddd;box-shadow:none;background:#fff}.rm-container #Assets-panel .assets-body .header-container .assets-input[type=search]::-webkit-search-cancel-button{display:none}.rm-container #Assets-panel .assets-body .header-container .assets-input[type=search]::-ms-clear{display:none;width:0;height:0}.rm-container #Assets-panel .assets-body .header-container a.search-button{background-image:url("/DesktopModules/ResourceManager/Images/search.svg");background-repeat:no-repeat;background-position:50%;display:inline-block;width:22px;height:20px;right:24px;position:absolute;top:8px;cursor:pointer}.rm-container #Assets-panel .assets-body .header-container a.sync-button{background-image:url(/DesktopModules/ResourceManager/Images/redeploy.svg);background-repeat:no-repeat;background-position:50%;display:inline-block;width:22px;height:20px;top:7px;position:absolute;right:0;cursor:pointer}.rm-container #Assets-panel .assets-body .header-container{color:#46292b}.rm-container #Assets-panel .assets-body .header-container .folder-picker-container,.rm-container #Assets-panel .assets-body .header-container .sort-container{height:31px;border-right:1px solid #c8c8c8}.rm-container #Assets-panel .assets-body .header-container .folder-picker-container span{display:block;margin-top:7px}.rm-container #Assets-panel .assets-body .header-container .folder-picker-container .dnn-folder-selector .selected-item{padding:7px 15px}.rm-container #Assets-panel .assets-body .header-container .sort-container .dnn-dropdown{width:100%;background:none}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder{width:100%;vertical-align:top}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder *{box-sizing:border-box}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder .selected-item{border:none;box-shadow:none;background:none}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder .selected-item a{font-weight:700;padding:7px 0;border-left:none;background:none;position:relative;color:#4b4e4f;height:32px}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder .selected-item a:after{content:"";display:block;width:0;height:0;position:absolute;right:0;top:14px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:4px solid #4b4e4f}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder .selected-item a.opened{color:#1e88c3;background:none}.rm-container #Assets-panel .assets-body .dnnDropDownList.rm-folder .selected-item a.opened:after{border-top-color:#1e88c3}.rm-container #Assets-panel .assets-body .dt-container{width:267px;background:#fff;border:1px solid #c8c8c8;border-radius:3px;box-shadow:0 0 20px 0 gba(0,0,0,.2);top:42px;height:330px}.rm-container #Assets-panel .assets-body .dt-container .dt-header{margin:20px 20px 13px;background:none;border:none;box-shadow:none;padding:0}.rm-container #Assets-panel .assets-body .dt-container .dt-header .sort-button{display:none}.rm-container #Assets-panel .assets-body .dt-container .dt-header .search-container{margin:0;position:relative}.rm-container #Assets-panel .assets-body .dt-container .dt-header .search-container .search-input-container{border:1px solid #c8c8c8;border-radius:0;padding:0 32px 0 0}.rm-container #Assets-panel .assets-body .dt-container .dt-header .search-container .search-input-container input{background-color:transparent;border-radius:0;border:none}.rm-container #Assets-panel .assets-body .dt-container .dt-header .search-container .clear-button{right:32px;border:none}.rm-container #Assets-panel .assets-body .dt-container .dt-header .search-container .search-button{position:absolute;right:1px;top:1px;width:32px;height:32px;background-image:url(/DesktopModules/ResourceManager/Images/search.png);background-repeat:no-repeat;background-position:50%}.rm-container #Assets-panel .assets-body .dt-container .dt-content{margin:65px 20px 0;border:1px solid #c8c8c8;height:224px;width:auto;position:relative;overflow:hidden}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes.tv-root{margin:4px 4px 0 -10px}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes li.tv-node{list-style:none;padding:0 0 0 16px}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.text{background:url(/DesktopModules/ResourceManager/Images/folder.png) no-repeat 2px 0;border:1px solid transparent;color:#6f7273;padding:0 8px 0 24px;text-decoration:none}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.text.selected{font-weight:700}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.text:hover{text-decoration:none;background-image:url(/DesktopModules/ResourceManager/Images/folder-hover.png);color:#1e88c3;border:1px solid transparent}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.icon{text-decoration:none;display:inline-block;padding:0;height:16px;width:16px;border:1px solid transparent;outline:none;vertical-align:middle;cursor:pointer}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.icon.rm-expanded{background:url(/DesktopModules/ResourceManager/Images/tree-sprite.png) no-repeat 0 -18px}.rm-container #Assets-panel .assets-body .dt-container ul.tv-nodes a.icon.collapsed{background:url(/DesktopModules/ResourceManager/Images/tree-sprite.png) no-repeat 0 -2px}.rm-container #Assets-panel .assets-body .dt-container .dt-footer{background:none;margin:10px 20px 20px;border:none}.rm-container #Assets-panel .assets-body .dt-container .dt-footer .result{margin:10px 0 0}.rm-container #Assets-panel .assets-body .dt-container .dt-footer .resizer{display:none}.rm-container #Assets-panel .select-destination-folder{width:500px;margin:30px auto}.rm-container #Assets-panel .select-destination-folder .dt-container{width:100%;box-shadow:none;border:none}.rm-container #Assets-panel .select-destination-folder .dt-container .dt-content{margin-top:20px}.rm-container #Assets-panel .assets-body .header-container .search-box-container,.rm-container #Assets-panel .assets-body .header-container .sort-container{position:relative;display:block;width:33%;float:left}.rm-container #Assets-panel .breadcrumbs-container{position:absolute;width:100%;font-size:0;line-height:0;text-transform:uppercase;font-weight:700;left:0;bottom:0}.rm-container #Assets-panel .breadcrumbs-container>div{height:20px;line-height:20px;background:0;color:#1e88c3;font-weight:700;text-transform:uppercase;cursor:pointer}.rm-container #Assets-panel .breadcrumbs-container>div:first-child:not(:last-child){padding-right:16px;position:relative;display:inline-block}.rm-container #Assets-panel .breadcrumbs-container>div:first-child:last-child{width:150px;margin-left:0}.rm-container #Assets-panel .breadcrumbs-container>div:not(:first-child):not(:last-child){padding-right:10px;position:relative;margin-left:25px;box-sizing:border-box}.rm-container #Assets-panel .breadcrumbs-container>div:not(:last-child):after{content:"";position:absolute;right:-15px;top:0;width:20px;height:32px;background-image:url(/DesktopModules/ResourceManager/Images/arrow_forward.svg);background-repeat:no-repeat;background-position:50%}.rm-container #Assets-panel .breadcrumbs-container>div:last-child{color:#1e88c3;font-family:proxima_nova,Arial;text-decoration:none;font-size:14px;padding-right:10px;position:relative;margin-left:25px;cursor:default}.rm-container #Assets-panel .breadcrumbs-container div{display:inline-block;height:32px;line-height:32px;font-family:proxima_nova,Arial;text-decoration:none;font-size:14px;max-width:20%;color:#4b4e4f}.rm-container #Assets-panel .breadcrumbs-container div>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rm-container #Assets-panel div.rm-field{position:relative;display:inline-block;margin:32px 0 0;min-width:325px;vertical-align:top}.rm-container #Assets-panel div.rm-field.long{margin-right:340px}.rm-container #Assets-panel div.rm-field.right{min-width:325px}.rm-container #Assets-panel div.rm-field.hide{visibility:hidden;margin:32px 0 0}.rm-container #Assets-panel div.versioning{margin:20px 20px 0 0}.rm-container #Assets-panel div.versioning>input{vertical-align:middle;margin-right:5px}.rm-container #Assets-panel div.rm-field>label{display:block;margin-bottom:5px}.rm-container #Assets-panel div.rm-field>input[type=text],.rm-container #Assets-panel div.rm-field>select,.rm-container #Assets-panel div.rm-field>textarea{width:100%;box-sizing:border-box;min-height:34px;border:1px solid #7f7f7f;border-radius:0}.rm-container #Assets-panel div.rm-field>textarea#description{min-height:135px}.rm-container #Assets-panel div.file-upload-panel{margin:1px 1px 30px}.rm-container #Assets-panel div.file-upload-panel .dnn-file-upload{width:100%;box-sizing:border-box;float:none;margin:auto}.rm-container #Assets-panel div.file-upload-panel .dnn-file-upload span{float:none}.rm-container #Assets-panel .container-main .toolbar-main{height:70px;width:860px;background-color:#e6e6e6}.rm-container #Assets-panel .container-main .filter-results{height:50px;width:860px;padding-bottom:0}.rm-container #Assets-panel .page-title{font-family:Arial,Helvetica,sans-serif;font-size:24px}.rm-container #Assets-panel div.main-container{margin-top:16px;position:relative;overflow:auto}.rm-container #Assets-panel div.item-container{width:100%;overflow-y:auto;overflow-x:visible}.rm-container #Assets-panel div.item-container.empty .rm_infinite-scroll-container{display:none}.rm-container #Assets-panel div.item-container.empty:not(.loading){background-image:url(/DesktopModules/ResourceManager/Images/folder-empty-state-asset-manager.png);background-repeat:no-repeat;background-position:center 120px;min-height:465px}.rm-container #Assets-panel div.item-container.empty.rm_search:not(.loading){background-image:url(/DesktopModules/ResourceManager/Images/search-glass-no-results.png)}.rm-container #Assets-panel div.item-container>div.empty-label{display:none;color:#aaa;max-width:250px;text-align:center;top:240px;position:relative;margin-left:auto;margin-right:auto}.rm-container #Assets-panel div.item-container.empty:not(.rm_search):not(.loading)>div.empty-label.rm-folder{display:block}.rm-container #Assets-panel div.item-container.empty.rm_search:not(.loading)>div.empty-label.rm_search{display:block;top:180px}.rm-container #Assets-panel div.item-container>div.empty-label>span.empty-title{font-size:22px;font-weight:700;display:block;margin:10px 0}.rm-container #Assets-panel div.item-container>div.empty-label>span.empty-subtitle{font-size:15px}.rm-container #Assets-panel div.item-container.drop-target{border:10px dashed #0087c6;padding:0 0 5px 5px;overflow:hidden}.rm-container #Assets-panel .item-container .rm-card{position:relative;height:212px;width:100%;padding:20px;bottom:0;font-family:Proxima Nova-light,HelveticaNeue-Light,Arial-light,Helvetica,sans-serif;box-shadow:0 0 4px 0 rgba(0,0,0,.3);border-radius:3px;background-color:#79bdd8;color:#fff;font-size:17px;margin:15px 0 5px;float:left;overflow:hidden;transition:.2s;box-sizing:border-box}.rm-container #Assets-panel .item-container .rm-card.rm-folder{cursor:pointer}.rm-container #Assets-panel div.item-container:not(.disabled) .rm-card.selected,.rm-container #Assets-panel div.item-container:not(.disabled) .rm-card:hover{background-color:#3089c6;transition:.2s}.rm-container #Assets-panel .item.highlight{animation:card-highlight 1.5s 1}@keyframes card-highlight{0%{box-shadow:0 0 0 0 rgba(0,220,0,0)}25%{box-shadow:0 0 5px 8px #7de2a6}50%{box-shadow:0 0 0 0 rgba(0,220,0,0)}75%{box-shadow:0 0 5px 8px #7de2a6}to{box-shadow:0 0 0 0 rgba(0,220,0,0)}}.rm-container #Assets-panel .rm-card-container{float:left;width:22%;margin-right:4%}.rm-container #Assets-panel .rm-card-container:nth-of-type(4n){margin-right:0}.rm-container #Assets-panel .item.rm-card{float:none}.rm-container #Assets-panel .item.rm-card .card-icons{height:58px;width:53px;position:absolute;left:0;top:0}.rm-container #Assets-panel .item.rm-card .text-card{position:absolute;bottom:22px;width:149px;overflow:hidden;word-wrap:break-word;height:30px;line-height:15px}.rm-container #Assets-panel .item.rm-card .text-card p{margin:0}.rm-container #Assets-panel .item.rm-card .text-card:before{content:"";float:left;width:5px;height:30px}.rm-container #Assets-panel .item.rm-card .text-card>:first-child{float:right;width:100%;margin-left:-5px}.rm-container #Assets-panel .item.rm-card .text-card:after{content:"\\2026";box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;float:right;position:relative;top:-15px;left:100%;width:1em;margin-left:-1em;padding-right:5px;text-align:right;background-color:#79bdd8;transition:.2s}.rm-container #Assets-panel div.item-container:not(.disabled) .rm-card.selected .text-card:after,.rm-container #Assets-panel div.item-container:not(.disabled) .rm-card:hover .text-card:after{background-color:#3089c6;transition:.2s}.rm-container #Assets-panel .item.rm-card .text-card font.highlight{background-color:#ccc}.rm-container #Assets-panel .rm-circular{width:100%;height:100%;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;border:12px solid #79bdd8;margin-right:auto;margin-left:auto;background-position:50%;background-repeat:no-repeat;background-color:#eee;box-sizing:border-box}.rm-container #Assets-panel .rm-circular.rm-folder{background-color:#9edcef}.rm-container #Assets-panel .rm-card .image-center{margin-right:auto;margin-left:auto;height:110px;width:110px;border:2px solid #fff;border-radius:50%;position:relative}.rm-container #Assets-panel .rm-card .overlay-disabled{height:213px;width:190px;position:absolute;left:0;top:0;background-color:#000;border-radius:3px;opacity:0;visibility:hidden;-webkit-transition:visibility .2s linear,opacity .2s linear;-moz-transition:visibility .2s linear,opacity .2s linear;-o-transition:visibility .2s linear,opacity .2s linear}.rm-container #Assets-panel div.item-container.disabled .rm-card{cursor:auto}.rm-container #Assets-panel div.item-container.disabled .rm-card .overlay-disabled{opacity:.5;visibility:visible}.rm-container #Assets-panel .rm-card>div.rm-actions{position:absolute;right:-32px;width:32px;background-color:#236f99;top:0;bottom:0;transition:.2s}.rm-container #Assets-panel .rm-card>div.rm-actions>div{cursor:pointer}.rm-container #Assets-panel .rm-card.selected>div.rm-actions,.rm-container #Assets-panel .rm-card:hover>div.rm-actions{right:0;transition:.2s;transition-delay:.4s}.rm-container #Assets-panel .rm-card>div.unpublished{position:absolute;width:32px;height:32px;top:6px;left:6px;background-image:url(/DesktopModules/ResourceManager/Images/unpublished.svg)}.rm-container #Assets-panel .rm-card>div.rm-actions>div{height:32px;background-position:50%;background-repeat:no-repeat;position:absolute;width:100%;background-size:80%}.rm-container #Assets-panel .rm-card>div.rm-actions>div.rm-edit{top:0;background-image:url(/DesktopModules/ResourceManager/Images/edit.svg)}.rm-container #Assets-panel .rm-card>div.rm-actions>div.rm-link{top:32px;background-image:url(/DesktopModules/ResourceManager/Images/clipboard.svg)}.rm-container #Assets-panel .rm-card>div.rm-actions>div.rm-download{top:96px;background-image:url(/DesktopModules/ResourceManager/Images/download.svg)}.rm-container #Assets-panel .rm-card>div.rm-actions>div.rm-delete{background-image:url(/DesktopModules/ResourceManager/Images/delete.svg);background-color:#195774;bottom:0}.rm-container #Assets-panel .top-panel.add-folder{max-height:0;overflow:hidden;height:100%;transition:max-height .5s ease}.rm-container #Assets-panel .top-panel.add-folder.rm-expanded{max-height:970px}.rm-container #Assets-panel .top-panel.add-folder .rm-button{margin-bottom:30px}.rm-container #Assets-panel .folder-adding .folder-parent-label{margin-right:10px}.rm-container #Assets-panel .top-panel.add-folder>.folder-adding{margin:30px;margin-bottom:45px}.rm-container #Assets-panel .top-panel.add-asset{max-height:0;overflow:hidden;height:100%;transition:max-height .5s ease}.rm-container #Assets-panel .top-panel.add-asset.rm-expanded{max-height:970px}.rm-container #Assets-panel .top-panel.add-asset .close{float:none;margin-bottom:30px}.rm-container #Assets-panel .details-panel{border:none;border-radius:0;padding:30px}.rm-container #Assets-panel div.item-details{float:left;margin:0;border-top:2px solid #1e88c3;border-bottom:2px solid #1e88c3;width:100%;padding:25px 10px;box-sizing:border-box;overflow:hidden}.rm-container #Assets-panel ul.tabControl{background-color:#fff;border-radius:0;border:none;border-bottom:1px solid #ddd}.rm-container #Assets-panel ul.tabControl>li{text-transform:uppercase;font-weight:700;padding:10px 0;margin:0 20px}.rm-container #Assets-panel ul.tabControl>li.selected{border-bottom:3px solid #1e88c3}.rm-container #Assets-panel div.details-icon{display:inline-block;width:50px;height:50px;border-radius:50%;box-shadow:0 0 0 1px #79bdd8;border:5px solid #fff;background-position:50%;background-repeat:no-repeat;float:left;margin:0 15px 25px 0;background-color:#eee}.rm-container #Assets-panel div.details-icon.folder{background-color:#9edcef;background-size:50%}.rm-container #Assets-panel div.details-info{padding-top:12px;position:relative}.rm-container #Assets-panel div.details-field{display:inline-block;margin-bottom:8px;max-width:200px;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.rm-container #Assets-panel div.details-field:first-child{margin-right:16px;padding-right:16px;border-right:1px solid #c8c8c8}.rm-container #Assets-panel div.details-field.rm-url{max-width:none}.rm-container #Assets-panel div.details-field a{color:#0087c6;text-decoration:none}.rm-container #Assets-panel div.details-field a:hover{color:#2fa6eb}.rm-container #Assets-panel div.details-field+div.vertical-separator{margin:0 16px;border-left:1px solid #e2e2e2;display:inline;height:16px}.rm-container #Assets-panel div.details-field+div.line-break{clear:right}.rm-container #Assets-panel div.details-field.right{position:absolute;right:0;top:12px}.rm-container #Assets-panel span.details-label{font-weight:700;margin-right:10px}.rm-container #Assets-panel span.details-label.checkbox{vertical-align:top;line-height:22px;margin-right:27px;color:#46292b}.rm-container #Assets-panel div.file-panel{padding:25px;background-color:#fff}.rm-container #Assets-panel div.separator{clear:both;border-bottom:1px solid #c8c8c8;margin-bottom:8px}.rm-container #Assets-panel label{font-weight:700}.rm-container #Assets-panel label.formRequired:after{content:"*";display:inline-block;margin:0 0 0 5px;color:red;font-size:16px;line-height:1em;font-family:proxima_nova_semibold}.rm-container #Assets-panel div.cancel{width:50%;float:left;margin:10px 0 0;position:relative}.rm-container #Assets-panel div.cancel>a{display:block;float:right;margin-right:5px}.rm-container #Assets-panel div.close{width:100%;float:left;text-align:center}.rm-container #Assets-panel div.close>a{margin-right:auto;margin-left:auto}.rm-container #Assets-panel div.save{width:50%;float:left;margin:10px 0 0;position:relative}.rm-container #Assets-panel div.details-selector{position:relative}.rm-container #Assets-panel div.details-selector>div{margin:auto;content:"";width:0;height:0;border-style:solid;border-width:8px 8px 0;border-color:#3089c6 transparent transparent;position:relative}.rm-container #Assets-panel .rm-clear{clear:both}.rm-container .dnn-slide-in-out-enter{max-height:0}.rm-container .dnn-slide-in-out-enter.dnn-slide-in-out-enter-active{max-height:970px;transition:max-height .5s ease-in}.rm-container .dnn-slide-in-out-leave{max-height:970px}.rm-container .dnn-slide-in-out-leave.dnn-slide-in-out-leave-active{max-height:0;transition:max-height .3s ease-in}.rm-container .loading:after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;background:hsla(0,0%,100%,.7) url(/DesktopModules/ResourceManager/Images/loading.gif) no-repeat 50%;z-index:99999}.rm-container .three-columns{display:block;width:33%;float:left}.rm-container .dnn-dropdown{height:31px;background-color:#fff}.rm-container .dnn-dropdown .collapsible-content{margin:0;box-shadow:none}.rm-container .dnn-dropdown li,.rm-container .dnn-dropdown ul{margin:0;list-style:none;box-sizing:border-box;height:28px}.rm-container .rm-field .dnn-dropdown{width:100%}.rm-container label.rm-error{color:red}.rm-container .file-upload-container .file-upload-panel{position:relative;border:1px solid #666;padding:10px;margin-bottom:30px;min-height:163px;color:#959695;transition:.2s linear;cursor:pointer}.rm-container .file-upload-container .file-upload-panel:hover{color:#fff;background-color:rgba(30,136,195,.6)}.rm-container .file-upload-container .file-upload-panel span{overflow:hidden!important;width:140px!important;display:block!important;position:relative;text-transform:none;font-size:14px;padding-top:95px;text-align:center;margin:0 auto}.rm-container .file-upload-container .upload-file{background-image:url(/DesktopModules/ResourceManager/Images/upload.svg);height:40px;width:40px;display:block;position:absolute;top:30px;left:50%;transform:translateX(-50%)}.rm-container .progresses-container{margin:20px 0;max-height:240px;overflow-y:auto}.rm-container .uploading-container{overflow:hidden;border-bottom:1px solid #c8c8c8;padding:6px 0;color:#0a85c3;font-weight:700;font-family:proxima_nova,Arial;font-size:13px}.rm-container .uploading-container .file-upload-thumbnail{background:0;border-radius:0;border:2px solid #0a85c3;padding:2px;float:left;position:relative;height:76px;width:76px;line-height:76px;text-align:center}.rm-container .uploading-container .file-upload-thumbnail img{max-height:100%;max-width:100%}.rm-container .uploading-container .file-name-container,.rm-container .uploading-container .progress-bar-container{width:calc(100% - 100px);float:right}.rm-container .uploading-container .file-name-container span{display:block;width:100%}.rm-container .uploading-container .progress-bar-container{margin-top:18px;height:5px;background-color:#c7c7c7}.rm-container .uploading-container .progress-bar-container .progress-bar{background-color:#0a85c3;height:100%;transition:.5s}.rm-container .uploading-container.rm-error{color:red}.rm-container .uploading-container.rm-error .file-upload-thumbnail{border:2px solid #c8c8c8;background-image:url(/DesktopModules/ResourceManager/Images/loader_failed.svg)}.rm-container .uploading-container.rm-error .progress-bar{background-color:red}.rm-container .uploading-container.rm-uploading .file-upload-thumbnail{border:2px solid #c8c8c8;background:url(/DesktopModules/ResourceManager/Images/dnnanim.gif) no-repeat 50%}.rm-container .uploading-container.rm-stopped{color:#777}.rm-container .uploading-container.rm-stopped .file-upload-thumbnail{border:2px solid #c8c8c8}.rm-container .rm-error label{color:red}.rm-container .dnn-switch-container{display:inline-block;float:none;padding:0}.rm-container .dnn-dropdown .collapsible-label{padding:7px 15px;box-sizing:border-box}.ReactModalPortal .modal-header{background-color:#092836;border:none}.ReactModalPortal .modal-header h3{color:#fff;margin:0}.ReactModalPortal .rm-dialog-modal-label{float:none;width:100%;text-align:center}.ReactModalPortal .rm-dialog-modal-label label{margin:0}.ReactModalPortal .rm-form-buttons-container{text-align:center;margin-top:20px}.ReactModalPortal .rm-form-buttons-container .rm-common-button{margin-left:10px}svg{fill:#c8c8c8}svg:hover{fill:#6f7273}svg:active{fill:#1e88c3}button.rm-common-button{border:1px solid #1e88c3;height:34px;min-width:100px;padding:0 22px;font-size:10pt;color:#1e88c3;background:#fff;border-radius:3px;cursor:pointer;font-family:Helvetica,Arial,sans-serif}button.rm-common-button:hover{color:#21a3da;border-color:#21a3da}button.rm-common-button:focus{outline:none}button.rm-common-button:active{color:#226f9b;border-color:#226f9b}button.rm-common-button:disabled{color:#c8c8c8;border-color:#c8c8c8;cursor:not-allowed}button.rm-common-button.large{height:44px}button.rm-common-button[role=primary]{background:#1e88c3;border:none;color:#fff}button.rm-common-button[role=primary]:hover{background:#21a3da}button.rm-common-button[role=primary]:active{background:#226f9b}button.rm-common-button[role=primary]:disabled{color:#959695;background:#e5e7e6;cursor:not-allowed}',""]); +},function(e,t,n){!function(t,r){e.exports=r(n(51),n(11),n(1),n(86),n(37),n(23),n(145))}(this,function(e,t,r,o,i,a,s){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n0){var t=w;this.setState({fixedHeight:t})}}},{key:"componentWillReceiveProps",value:function(e){var t=this;if(e.options&&e.options.length>0){var n=w;this.setState({fixedHeight:n})}e.isDropDownOpen!==this.props.isDropDownOpen&&this.setState({dropDownOpen:!e.isDropDownOpen},function(){return t.toggleDropdown(!0)})}},{key:"componentDidMount",value:function(){var e=this.props;e.closeOnClick&&document.addEventListener("mousedown",this.handleClick),this._isMounted=!0}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.handleClick),this._isMounted=!1}},{key:"handleClick",value:function(e){var t=this.props;this._isMounted&&t.closeOnClick&&(d["default"].findDOMNode(this).contains(e.target)||this.setState({dropDownOpen:!1,closestValue:null,dropdownText:""}))}},{key:"onSelect",value:function(e){var t=this.props;t.enabled&&(this.setState({dropDownOpen:!1,closestValue:null,dropdownText:""}),t.onSelect&&(this.setState({selectedOption:e}),t.onSelect(e)))}},{key:"getClassName",value:function(){var e=this.props,t=this.state,n="dnn-dropdown";return n+=e.withBorder?" with-border":"",n+=" "+e.size,n+=" "+e.className,n+=e.enabled?t.dropDownOpen?" open":"":" disabled"}},{key:"getDropdownLabel",value:function(){var e=this.props,t=e.label;if(void 0!==e.value&&void 0!==e.options&&e.options.length>0){var n=e.options.find(function(t){return t.value===e.value});n&&n.label&&(t=n.label)}return e.prependWith?l["default"].createElement("span",{className:"dropdown-prepend"},l["default"].createElement("strong",null,e.prependWith)," ",t):t}},{key:"getIsMultiLineLabel",value:function(){return this.props.labelIsMultiLine?"":" no-wrap"}},{key:"findMatchingItem",value:function(e){var t=this.props,n=this.state,r=n.dropdownText.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),o=t.getLabelText?t.getLabelText(e.label):e.label;return o.match(new RegExp("^"+r,"gi"))}},{key:"searchItems",value:function(){var e=this,t=this.props,n=t.options.findIndex(this.findMatchingItem,this);if(n){var r=this.getOption(n).value;this.setState({closestValue:r,currentIndex:n},function(){e.setState({dropdownText:""}),e.dropdownSearch.value="",setTimeout(function(){return e.scrollToSelectedItem()},100)})}}},{key:"scrollToSelectedItem",value:function(e){var t=this.selectedOptionElement?this.selectedOptionElement:null;if(t){var n=d["default"].findDOMNode(t),r=n.offsetTop;"ArrowUp"==e&&(r=n.offsetTop-2*n.clientHeight),b["default"].top(d["default"].findDOMNode(this.scrollBar).childNodes[0],r)}}},{key:"onDropdownSearch",value:function(e){var t=this;this.setState({dropdownText:e.target.value},function(){t.searchItems()})}},{key:"onKeyDown",value:function(e){switch(e.key){case"Enter":this.state.closestValue&&null!==this.state.closestValue.value?(this.onSelect(this.state.closestValue),this.dropdownSearch.blur()):this.onSelect(this.state.selectedOption);break;case"ArrowUp":this.onArrowUp(e.key);break;case"ArrowDown":this.onArrowDown(e.key)}}},{key:"getCurrentIndex",value:function(){var e=this.optionItems?this.optionItems.length:0,t=void 0!=this.state.currentIndex?this.state.currentIndex:-1;return t>-1&&t0?t--:t;this.setState({currentIndex:t,selectedOption:this.getOption(t),closestValue:null,ignorePreselection:!0}),this.scrollToSelectedItem(n,e)}},{key:"initOptions",value:function(){var e=this,t=this.props;this.optionItems=[];var n=t.options&&t.options.map(function(t,n){return e.optionItems.push(t),l["default"].createElement("li",{onClick:e.onSelect.bind(e,t),key:n,ref:e.isSelectedItem(n)?e.addOptionRef.bind(e):function(e){return e},className:e.getOptionClassName(t,n)},t.label)});return n}},{key:"getOptionClassName",value:function(e,t){var n=this.props,r=this.state,o=this.getCurrentIndex(),i=t===o,a=!this.state.ignorePreselection&&null!=n.value&&e.value===n.value&&null===r.closestValue&&o<0,s=null!=r.closestValue&&e.value===r.closestValue,l=o===-1?a:i||s;return l?"dnn-dropdown-option selected":"dnn-dropdown-option"}},{key:"isSelectedItem",value:function(e){return e==this.state.currentIndex}},{key:"addOptionRef",value:function(e){e&&(this.selectedOptionElement=e)}},{key:"getOption",value:function(e){var t=this.optionItems;return t&&void 0!==t[e]?t[e]:null}},{key:"render",value:function(){var e=this,t=this.props,n=this.state;return l["default"].createElement("div",{className:this.getClassName(),style:t.style},l["default"].createElement("div",{className:"collapsible-label"+this.getIsMultiLineLabel(),onClick:this.toggleDropdown.bind(this),title:this.props.title},this.getDropdownLabel()),l["default"].createElement("input",{type:"text",onChange:this.onDropdownSearch.bind(this),ref:function(t){return e.dropdownSearch=t},value:this.state.dropdownText,onKeyDown:this.onKeyDown.bind(this),style:{position:"absolute",opacity:0,pointerEvents:"none",width:0,height:0,padding:0,margin:0},"aria-label":"Search"}),t.withIcon&&l["default"].createElement("div",{className:"dropdown-icon",dangerouslySetInnerHTML:{__html:g.ArrowDownIcon},onClick:this.toggleDropdown.bind(this)}),l["default"].createElement("div",{className:"collapsible-content"+(n.dropDownOpen?" open":"")},l["default"].createElement(h["default"],{isOpened:n.dropDownOpen},l["default"].createElement("div",null,l["default"].createElement(v["default"],{ref:function(t){return e.scrollBar=t},autoHide:this.props.autoHide,autoHeight:!0,autoHeightMin:w,style:t.scrollAreaStyle,onUpdate:this.props.onScrollUpdate,renderTrackHorizontal:function(){return l["default"].createElement("div",null)}},l["default"].createElement("ul",{className:"dnn-dropdown-options",ref:function(t){return e.dropDownListElement=t}},this.initOptions()))))))}}]),t}(s.Component);x.propTypes={label:c["default"].string,fixedHeight:c["default"].number,collapsibleWidth:c["default"].number,collapsibleHeight:c["default"].number,keepCollapsedContent:c["default"].bool,className:c["default"].string,scrollAreaStyle:c["default"].object,options:c["default"].array,onSelect:c["default"].func,size:c["default"].string,withBorder:c["default"].bool,withIcon:c["default"].bool,enabled:c["default"].bool,autoHide:c["default"].bool,value:c["default"].oneOfType([c["default"].number,c["default"].string]),closeOnClick:c["default"].bool,prependWith:c["default"].string,labelIsMultiLine:c["default"].bool,title:c["default"].string,onScrollUpdate:c["default"].func,isDropDownOpen:c["default"].bool,selectedIndex:c["default"].number,onArrowKey:c["default"].func,getLabelText:c["default"].func.isRequired},x.defaultProps={label:"-- Select --",withIcon:!0,withBorder:!0,size:"small",closeOnClick:!0,enabled:!0,autoHide:!0,className:"",isDropDownOpen:!1,selectedIndex:-1,getLabelText:function(e){return e}},t["default"]=x}).call(this)}finally{}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,"svg{fill:#c8c8c8}svg:hover{fill:#6f7273}svg:active{fill:#1e88c3}.dnn-dropdown{position:relative;display:inline-block;cursor:pointer}.dnn-dropdown.disabled{background:#e5e7e6;color:#959695;cursor:not-allowed}.dnn-dropdown.disabled svg{fill:#959695}.dnn-dropdown.disabled .collapsible-label{cursor:not-allowed}.dnn-dropdown.open .collapsible-content{background:#fff;border:1px solid #c8c8c8;margin-top:3px}.dnn-dropdown.open.with-border{border:1px solid #1e88c3}.dnn-dropdown.with-border{border:1px solid #959695}.dnn-dropdown.with-border .collapsible-content{box-shadow:none;margin-top:0}.dnn-dropdown.with-border .collapsible-content.open{border:1px solid #c8c8c8;border-top:none}.dnn-dropdown.with-border.disabled{border:1px solid #e5e7e6}.dnn-dropdown.large{padding:12px 40px 12px 15px}.dnn-dropdown.large .dropdown-icon{top:15px}.dnn-dropdown.large .collapsible-label{font-size:14px}.dnn-dropdown.large .collapsible-content{top:43px}.dnn-dropdown.large .collapsible-content ul li{padding:11px 15px}.dnn-dropdown .dropdown-icon{position:absolute;width:13px;height:13px;right:10px;top:9px}.dnn-dropdown .dropdown-icon svg{fill:#6f7273}.dnn-dropdown .collapsible-label{cursor:pointer;font-family:inherit;position:relative;width:100%;font-size:13px;border:none;color:#46292b;overflow:hidden;text-overflow:ellipsis;padding:8px 40px 8px 15px}.dnn-dropdown .collapsible-label.no-wrap{white-space:nowrap}.dnn-dropdown .collapsible-label .dropdown-prepend>strong{margin-right:5px}.dnn-dropdown .collapsible-content{position:absolute;padding:0;left:-1px;top:102%;width:100%;box-sizing:content-box;background-color:#fff;z-index:1000;box-shadow:0 0 20px 0 rgba(0,0,0,.2)}.dnn-dropdown .collapsible-content ul{padding:15px 0}.dnn-dropdown .collapsible-content ul li{padding:6px 15px;text-indent:0;cursor:pointer;font-size:13px;color:#6f7273;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:inline-block;width:100%;box-sizing:border-box}.dnn-dropdown .collapsible-content ul li.selected{color:#1e88c3;font-weight:700}.dnn-dropdown .collapsible-content ul li:hover{background-color:#eff0f0;color:#1e88c3}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){if("object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.UnmountClosed=void 0;var l=Object.assign||function(e){for(var t=1;t0,style:a(d,e.tooltipStyle)}),e.extra)}}]),t}(l.Component);f.propTypes={label:l.PropTypes.string,className:l.PropTypes.string,labelFor:l.PropTypes.string,tooltipMessage:l.PropTypes.oneOfType([l.PropTypes.string,l.PropTypes.array]),tooltipPlace:l.PropTypes.string,tooltipStyle:l.PropTypes.object,tooltipColor:l.PropTypes.string,labelType:l.PropTypes.oneOf(["inline","block"]),style:l.PropTypes.object,extra:l.PropTypes.node,onClick:l.PropTypes.func},f.defaultProps={labelType:"block",className:""},t["default"]=f}).call(this)}finally{}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,"svg{fill:#c8c8c8}svg:hover{fill:#6f7273}svg:active{fill:#1e88c3}.dnn-label{float:left;width:100%}.dnn-label label{margin-right:10px;color:#46292b}.dnn-label.inline{float:left;width:auto;padding-top:7px;margin-right:15px}.dnn-label .dnn-ui-common-tooltip .icon{margin-top:-3px}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a- "):""},T=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),l(t,[{key:"componentWillMount",value:function(){var e=(0,h["default"])("tooltip-");this.setState({id:e,active:!1})}},{key:"showTooltip",value:function(){this.setState({isTooltipActive:!0})}},{key:"hideTooltip",value:function(){this.setState({isTooltipActive:!1})}},{key:"render",value:function(){var e=this.props,t=e.messages,n=e.type,r=e.rendered,o=e.tooltipPlace,i=e.style,l=e.className,u=e.delayHide,p=e.customIcon,f=(e.tooltipClass,e.onClick),h=e.tooltipColor,m=e.maxWidth,v="dnn-ui-common-tooltip "+n+" "+(l?l:""),g=O(t),y=p?E["default"]:s(n);if(!g||r===!1)return c["default"].createElement("noscript",null);var b=this.props.tooltipStyle||a(n,h);return c["default"].createElement("div",{className:v,style:i},c["default"].createElement("div",{id:this.state.id,className:"icon",onClick:f,onMouseEnter:this.showTooltip.bind(this),onMouseLeave:this.hideTooltip.bind(this)},c["default"].createElement(y,{icon:p?p:null})),c["default"].createElement(d["default"],{style:b,active:this.state.isTooltipActive,position:o,tooltipTimeout:u,arrow:"center",parent:"#"+this.state.id},c["default"].createElement("div",{style:{maxWidth:m+"px"},dangerouslySetInnerHTML:{__html:g}})))}}]),t}(u.Component);T.propTypes={messages:u.PropTypes.array.isRequired,type:u.PropTypes.oneOf(["error","warning","info","global"]).isRequired,rendered:u.PropTypes.bool,tooltipPlace:u.PropTypes.oneOf(["top","bottom"]).isRequired,style:u.PropTypes.object,tooltipStyle:u.PropTypes.object,tooltipColor:u.PropTypes.string,className:u.PropTypes.string,delayHide:u.PropTypes.number,customIcon:u.PropTypes.node,tooltipClass:u.PropTypes.string,onClick:u.PropTypes.func,maxWidth:u.PropTypes.number},T.defaultProps={tooltipPlace:"top",type:"info",delayHide:100,maxWidth:400},t["default"]=T}).call(this)}finally{}},function(t,n){t.exports=e},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"svg{fill:#c8c8c8}svg:hover{fill:#6f7273}svg:active{fill:#1e88c3}.dnn-ui-common-tooltip .tooltip-text{z-index:10000;max-width:255px;text-align:center;padding:7px 15px;pointer-events:auto!important;word-wrap:break-word;word-break:keep-all}.dnn-ui-common-tooltip .tooltip-text:hover{visibility:visible!important;opacity:1!important}.dnn-ui-common-tooltip .tooltip-text.place-top:after{border-top:6px solid!important}.dnn-ui-common-tooltip .tooltip-text.place-bottom:after{border-bottom:6px solid!important}.dnn-ui-common-tooltip .tooltip-text.place-left:after{border-left:6px solid!important}.dnn-ui-common-tooltip .tooltip-text.place-right:after{border-right:6px solid!important}.dnn-ui-common-tooltip.error .icon svg{color:#ea2134;fill:#ea2134}.dnn-ui-common-tooltip.error .tooltip-text{background-color:#ea2134!important;color:#fff}.dnn-ui-common-tooltip.error .tooltip-text.place-top:after{border-top-color:#ea2134!important}.dnn-ui-common-tooltip.error .tooltip-text.place-bottom:after{border-bottom-color:#ea2134!important}.dnn-ui-common-tooltip.warning .icon svg{color:#ea9c00;fill:#ea9c00}.dnn-ui-common-tooltip.warning .tooltip-text{background-color:#ea9c00!important;color:#fff}.dnn-ui-common-tooltip.warning .tooltip-text.place-top:after{border-top-color:#ea9c00!important}.dnn-ui-common-tooltip.warning .tooltip-text.place-bottom:after{border-bottom-color:#ea9c00!important}.dnn-ui-common-tooltip.info .icon svg{color:#c8c8c8;fill:#c8c8c8}.dnn-ui-common-tooltip.info .tooltip-text{background-color:#4b4e4f!important;color:#fff}.dnn-ui-common-tooltip.info .tooltip-text.place-top:after{border-top-color:#4b4e4f!important}.dnn-ui-common-tooltip.info .tooltip-text.place-bottom:after{border-bottom-color:#4b4e4f!important}.dnn-ui-common-tooltip.global .icon svg{color:#21a3da;fill:#21a3da}.dnn-ui-common-tooltip.global .tooltip-text{background-color:#21a3da!important;color:#fff}.dnn-ui-common-tooltip.global .tooltip-text.place-top:after{border-top-color:#21a3da!important}.dnn-ui-common-tooltip.global .tooltip-text.place-bottom:after{border-bottom-color:#21a3da!important}.dnn-ui-common-tooltip .icon svg{width:20px;height:20px}.ToolTipPortal>div{z-index:9999999!important}.ToolTipPortal span{margin-top:1px!important}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a0&&!e.modalWidth&&(t=document.getElementsByClassName("socialpanel")[0].offsetWidth),document.getElementsByClassName("dnn-persona-bar-page-header")&&document.getElementsByClassName("dnn-persona-bar-page-header").length>0&&!e.modalHeight&&(n=document.getElementsByClassName("dnn-persona-bar-page-header")[0].offsetHeight),e.style||{overlay:{zIndex:"99999",backgroundColor:"rgba(0,0,0,0.6)"},content:{top:n+e.dialogVerticalMargin,left:e.dialogHorizontalMargin+85,padding:0,borderRadius:0,border:"none",width:t-2*e.dialogHorizontalMargin,height:e.modalHeight||"60%",backgroundColor:"#FFFFFF",position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",MsUserSelect:"none",boxSizing:"border-box"}}}},{key:"render",value:function(){var e=this.props,t=this.getModalStyles(e),n=this.getScrollbarStyle(e);return u["default"].createElement(p["default"],{isOpen:e.isOpen,onRequestClose:e.onRequestClose,onAfterOpen:e.onAfterOpen,closeTimeoutMS:e.closeTimeoutMS,shouldCloseOnOverlayClick:e.shouldCloseOnOverlayClick,style:t},e.header&&u["default"].createElement("div",{className:"modal-header"},u["default"].createElement("h3",null,e.header),e.headerChildren,u["default"].createElement("div",{className:"close-modal-button",dangerouslySetInnerHTML:{__html:f.XThinIcon},onClick:e.onRequestClose})),u["default"].createElement(d.Scrollbars,{style:n},u["default"].createElement("div",{style:e.contentStyle},e.children)))}}]),t}(l.Component);h.propTypes={isOpen:l.PropTypes.bool,style:l.PropTypes.object,onRequestClose:l.PropTypes.func,children:l.PropTypes.node,dialogVerticalMargin:l.PropTypes.number,dialogHorizontalMargin:l.PropTypes.number,modalWidth:l.PropTypes.number,modalHeight:l.PropTypes.number,modalTopMargin:l.PropTypes.number,header:l.PropTypes.string,headerChildren:l.PropTypes.node,contentStyle:l.PropTypes.object,onAfterOpen:l.PropTypes.func,closeTimeoutMS:l.PropTypes.number,shouldCloseOnOverlayClick:l.PropTypes.bool},h.defaultProps={modalWidth:861,modalTopMargin:100,dialogVerticalMargin:25,dialogHorizontalMargin:30,contentStyle:{padding:"25px 30px"},shouldCloseOnOverlayClick:!0},t["default"]=h},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,"svg{fill:#c8c8c8}svg:hover{fill:#6f7273}svg:active{fill:#1e88c3}.ReactModalPortal{position:relative}.ReactModalPortal .modal-header{width:100%;height:50px;border-bottom:1px solid #c8c8c8}.ReactModalPortal .modal-header h3{font-size:18px;padding:15px 30px;float:left;color:#46292b}.ReactModalPortal .modal-header .close-modal-button{width:16px;height:16px;float:right;padding:17px 20px;cursor:pointer}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(t.sourceMap,r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=(t.media,t.sourceMap);r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n'; +},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='revised no data states'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'; +},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='AP-401-page-analyticsv-4'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\r\n'}])})},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,i["default"])(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}var o=n(48);t.__esModule=!0,t["default"]=r;var i=o(n(175));e.exports=t["default"]},function(e,t){"use strict";function n(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";function n(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=n(e.className,t):e.setAttribute("class",n(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";function r(){for(var e,t,n=document.createElement("div").style,r={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},o=Object.keys(r),i="",a=0;a=0&&"[object Array]"!==w(e)&&"[object Function]"===w(e.callee)},X=Y(arguments)?Y:K,$={primitive:function(e){return null===e||"function"!=typeof e&&"object"!=typeof e},object:function(e){return null!==e&&"object"==typeof e},string:function(e){return"[object String]"===w(e)},regex:function(e){return"[object RegExp]"===w(e)},symbol:function(e){return"function"==typeof S.Symbol&&"symbol"==typeof e}},Z=function(e,t,n){var r=e[t];y(e,t,n,!0),E.preserveToString(e[t],r)},Q="function"==typeof z&&"function"==typeof z["for"]&&$.symbol(z()),J=$.symbol(z.iterator)?z.iterator:"_es6-shim iterator_";S.Set&&"function"==typeof(new S.Set)["@@iterator"]&&(J="@@iterator"),S.Reflect||y(S,"Reflect",{},!0);var ee=S.Reflect,te=String,ne={Call:function(e,n){var r=arguments.length>2?arguments[2]:[];if(!ne.IsCallable(e))throw new TypeError(e+" is not a function");return t(e,n,r)},RequireObjectCoercible:function(e,t){if(null==e)throw new TypeError(t||"Cannot call method on "+e);return e},TypeIsObject:function(e){return void 0!==e&&null!==e&&e!==!0&&e!==!1&&("function"==typeof e||"object"==typeof e)},ToObject:function(e,t){return Object(ne.RequireObjectCoercible(e,t))},IsCallable:x,IsConstructor:function(e){return ne.IsCallable(e)},ToInt32:function(e){return ne.ToNumber(e)>>0},ToUint32:function(e){return ne.ToNumber(e)>>>0},ToNumber:function(e){if("[object Symbol]"===w(e))throw new TypeError("Cannot convert a Symbol value to a number");return+e},ToInteger:function(e){var t=ne.ToNumber(e);return W(t)?0:0!==t&&q(t)?(t>0?1:-1)*L(F(t)):t},ToLength:function(e){var t=ne.ToInteger(e);return t<=0?0:t>Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t},SameValue:function(e,t){return e===t?0!==e||1/e===1/t:W(e)&&W(t)},SameValueZero:function(e,t){return e===t||W(e)&&W(t)},IsIterable:function(e){return ne.TypeIsObject(e)&&("undefined"!=typeof e[J]||X(e))},GetIterator:function(t){if(X(t))return new e(t,"value");var n=ne.GetMethod(t,J);if(!ne.IsCallable(n))throw new TypeError("value is not an iterable");var r=ne.Call(n,t);if(!ne.TypeIsObject(r))throw new TypeError("bad iterator");return r},GetMethod:function(e,t){var n=ne.ToObject(e)[t];if(void 0!==n&&null!==n){if(!ne.IsCallable(n))throw new TypeError("Method not callable: "+t);return n}},IteratorComplete:function(e){return!!e.done},IteratorClose:function(e,t){var n=ne.GetMethod(e,"return");if(void 0!==n){var r,o;try{r=ne.Call(n,e)}catch(i){o=i}if(!t){if(o)throw o;if(!ne.TypeIsObject(r))throw new TypeError("Iterator's return method returned a non-object.")}}},IteratorNext:function(e){var t=arguments.length>1?e.next(arguments[1]):e.next();if(!ne.TypeIsObject(t))throw new TypeError("bad iterator");return t},IteratorStep:function(e){var t=ne.IteratorNext(e),n=ne.IteratorComplete(t);return!n&&t},Construct:function(e,t,n,r){var o="undefined"==typeof n?e:n;if(!r&&ee.construct)return ee.construct(e,t,o);var i=o.prototype;ne.TypeIsObject(i)||(i=Object.prototype);var a=_(i),s=ne.Call(e,a,t);return ne.TypeIsObject(s)?s:a},SpeciesConstructor:function(e,t){var n=e.constructor;if(void 0===n)return t;if(!ne.TypeIsObject(n))throw new TypeError("Bad constructor");var r=n[G];if(void 0===r||null===r)return t;if(!ne.IsConstructor(r))throw new TypeError("Bad @@species");return r},CreateHTML:function(e,t,n,r){var o=ne.ToString(e),i="<"+t;if(""!==n){var a=ne.ToString(r),s=a.replace(/"/g,""");i+=" "+n+'="'+s+'"'}var l=i+">",u=l+o;return u+""},IsRegExp:function(e){if(!ne.TypeIsObject(e))return!1;var t=e[z.match];return"undefined"!=typeof t?!!t:$.regex(e)},ToString:function(e){return te(e)}};if(d&&Q){var re=function(e){if($.symbol(z[e]))return z[e];var t=z["for"]("Symbol."+e);return Object.defineProperty(z,e,{configurable:!1,enumerable:!1,writable:!1,value:t}),t};if(!$.symbol(z.search)){var oe=re("search"),ie=String.prototype.search;y(RegExp.prototype,oe,function(e){return ne.Call(ie,e,[this])});var ae=function(e){var t=ne.RequireObjectCoercible(this);if(null!==e&&"undefined"!=typeof e){var n=ne.GetMethod(e,oe);if("undefined"!=typeof n)return ne.Call(n,e,[t])}return ne.Call(ie,t,[ne.ToString(e)])};Z(String.prototype,"search",ae)}if(!$.symbol(z.replace)){var se=re("replace"),le=String.prototype.replace;y(RegExp.prototype,se,function(e,t){return ne.Call(le,e,[this,t])});var ue=function(e,t){var n=ne.RequireObjectCoercible(this);if(null!==e&&"undefined"!=typeof e){var r=ne.GetMethod(e,se);if("undefined"!=typeof r)return ne.Call(r,e,[n,t])}return ne.Call(le,n,[ne.ToString(e),t])};Z(String.prototype,"replace",ue)}if(!$.symbol(z.split)){var ce=re("split"),pe=String.prototype.split;y(RegExp.prototype,ce,function(e,t){return ne.Call(pe,e,[this,t])});var de=function(e,t){var n=ne.RequireObjectCoercible(this);if(null!==e&&"undefined"!=typeof e){var r=ne.GetMethod(e,ce);if("undefined"!=typeof r)return ne.Call(r,e,[n,t])}return ne.Call(pe,n,[ne.ToString(e),t])};Z(String.prototype,"split",de)}var fe=$.symbol(z.match),he=fe&&function(){var e={};return e[z.match]=function(){return 42},42!=="a".match(e)}();if(!fe||he){var me=re("match"),ve=String.prototype.match;y(RegExp.prototype,me,function(e){return ne.Call(ve,e,[this])});var ge=function(e){var t=ne.RequireObjectCoercible(this);if(null!==e&&"undefined"!=typeof e){var n=ne.GetMethod(e,me);if("undefined"!=typeof n)return ne.Call(n,e,[t])}return ne.Call(ve,t,[ne.ToString(e)])};Z(String.prototype,"match",ge)}}var ye=function(e,t,n){E.preserveToString(t,e),Object.setPrototypeOf&&Object.setPrototypeOf(e,t),d?h(Object.getOwnPropertyNames(e),function(r){r in B||n[r]||E.proxy(e,r,t)}):h(Object.keys(e),function(r){r in B||n[r]||(t[r]=e[r])}),t.prototype=e.prototype,E.redefine(e.prototype,"constructor",t)},be=function(){return this},we=function(e){d&&!U(e,G)&&E.getter(e,G,be)},xe=function(e,t){var n=t||function(){return this};y(e,J,n),!e[J]&&$.symbol(J)&&(e[J]=n)},Ee=function(e,t,n){d?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n},_e=function(e,t,n){if(Ee(e,t,n),!ne.SameValue(e[t],n))throw new TypeError("property is nonconfigurable")},Te=function(e,t,n,r){if(!ne.TypeIsObject(e))throw new TypeError("Constructor requires `new`: "+t.name);var o=t.prototype;ne.TypeIsObject(o)||(o=n);var i=_(o);for(var a in r)if(U(r,a)){var s=r[a];y(i,a,s,!0)}return i};if(String.fromCodePoint&&1!==String.fromCodePoint.length){var Oe=String.fromCodePoint;Z(String,"fromCodePoint",function(e){return ne.Call(Oe,this,arguments)})}var Se={fromCodePoint:function(e){for(var t,n=[],r=0,o=arguments.length;r1114111)throw new RangeError("Invalid code point "+t);t<65536?A(n,String.fromCharCode(t)):(t-=65536,A(n,String.fromCharCode((t>>10)+55296)),A(n,String.fromCharCode(t%1024+56320)))}return n.join("")},raw:function(e){var t=ne.ToObject(e,"bad callSite"),n=ne.ToObject(t.raw,"bad raw value"),r=n.length,o=ne.ToLength(r);if(o<=0)return"";for(var i,a,s,l,u=[],c=0;c=o));)a=c+1=Pe)throw new RangeError("repeat count must be less than infinity and not overflow maximum string size");return Ce(t,n)},startsWith:function(e){var t=ne.ToString(ne.RequireObjectCoercible(this));if(ne.IsRegExp(e))throw new TypeError('Cannot call method "startsWith" with a regex');var n,r=ne.ToString(e);arguments.length>1&&(n=arguments[1]);var o=R(ne.ToInteger(n),0);return I(t,o,o+r.length)===r},endsWith:function(e){var t=ne.ToString(ne.RequireObjectCoercible(this));if(ne.IsRegExp(e))throw new TypeError('Cannot call method "endsWith" with a regex');var n,r=ne.ToString(e),o=t.length;arguments.length>1&&(n=arguments[1]);var i="undefined"==typeof n?o:ne.ToInteger(n),a=j(R(i,0),o);return I(t,a-r.length,a)===r},includes:function(e){if(ne.IsRegExp(e))throw new TypeError('"includes" does not accept a RegExp');var t,n=ne.ToString(e);return arguments.length>1&&(t=arguments[1]),P(this,n,t)!==-1},codePointAt:function(e){var t=ne.ToString(ne.RequireObjectCoercible(this)),n=ne.ToInteger(e),r=t.length;if(n>=0&&n56319||i)return o;var a=t.charCodeAt(n+1);return a<56320||a>57343?o:1024*(o-55296)+(a-56320)+65536}}};if(String.prototype.includes&&"a".includes("a",1/0)!==!1&&Z(String.prototype,"includes",ke.includes),String.prototype.startsWith&&String.prototype.endsWith){var Me=l(function(){"/a/".startsWith(/a/)}),Ie=u(function(){return"abc".startsWith("a",1/0)===!1});Me&&Ie||(Z(String.prototype,"startsWith",ke.startsWith),Z(String.prototype,"endsWith",ke.endsWith))}if(Q){var Ae=u(function(){var e=/a/;return e[z.match]=!1,"/a/".startsWith(e)});Ae||Z(String.prototype,"startsWith",ke.startsWith);var Ne=u(function(){var e=/a/;return e[z.match]=!1,"/a/".endsWith(e)});Ne||Z(String.prototype,"endsWith",ke.endsWith);var De=u(function(){var e=/a/;return e[z.match]=!1,"/a/".includes(e)});De||Z(String.prototype,"includes",ke.includes)}b(String.prototype,ke);var Re=["\t\n\x0B\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),je=new RegExp("(^["+Re+"]+)|(["+Re+"]+$)","g"),Le=function(){return ne.ToString(ne.RequireObjectCoercible(this)).replace(je,"")},Fe=["…","​","￾"].join(""),Ve=new RegExp("["+Fe+"]","g"),He=/^[\-+]0x[0-9a-f]+$/i,Ue=Fe.trim().length!==Fe.length;y(String.prototype,"trim",Le,Ue);var Be=function(e){ne.RequireObjectCoercible(e),this._s=ne.ToString(e),this._i=0};Be.prototype.next=function(){var e=this._s,t=this._i;if("undefined"==typeof e||t>=e.length)return this._s=void 0,{value:void 0,done:!0};var n,r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===e.length?r=1:(n=e.charCodeAt(t+1),r=n<56320||n>57343?1:2),this._i=t+r,{value:e.substr(t,r),done:!1}},xe(Be.prototype),xe(String.prototype,function(){return new Be(this)});var ze={from:function(e){var t,r=this;arguments.length>1&&(t=arguments[1]);var o,i;if("undefined"==typeof t)o=!1;else{if(!ne.IsCallable(t))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2]),o=!0}var a,s,l,u="undefined"!=typeof(X(e)||ne.GetMethod(e,J));if(u){s=ne.IsConstructor(r)?Object(new r):[];var c,p,d=ne.GetIterator(e);for(l=0;c=ne.IteratorStep(d),c!==!1;){p=c.value;try{o&&(p="undefined"==typeof i?t(p,l):n(t,i,p,l)),s[l]=p}catch(f){throw ne.IteratorClose(d,!0),f}l+=1}a=l}else{var h=ne.ToObject(e);a=ne.ToLength(h.length),s=ne.IsConstructor(r)?Object(new r(a)):new Array(a);var m;for(l=0;l2&&(n=arguments[2]);var u="undefined"==typeof n?o:ne.ToInteger(n),c=u<0?R(o+u,0):j(u,o),p=j(c-l,o-s),d=1;for(l0;)l in r?r[s]=r[l]:delete r[s],l+=d,s+=d,p-=1;return r},fill:function(e){var t;arguments.length>1&&(t=arguments[1]);var n;arguments.length>2&&(n=arguments[2]);var r=ne.ToObject(this),o=ne.ToLength(r.length);t=ne.ToInteger("undefined"==typeof t?0:t),n=ne.ToInteger("undefined"==typeof n?o:n);for(var i=t<0?R(o+t,0):j(t,o),a=n<0?o+n:n,s=i;s1?arguments[1]:null,a=0;a1?arguments[1]:null,i=0;i1&&"undefined"!=typeof arguments[1]?ne.Call($e,this,arguments):n($e,this,e)})}var Ze=-(Math.pow(2,32)-1),Qe=function(e,t){var r={length:Ze};return r[t?(r.length>>>0)-1:0]=!0,u(function(){return n(e,r,function(){throw new RangeError("should not reach here")},[]),!0})};if(!Qe(Array.prototype.forEach)){var Je=Array.prototype.forEach;Z(Array.prototype,"forEach",function(e){return ne.Call(Je,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.map)){var et=Array.prototype.map;Z(Array.prototype,"map",function(e){return ne.Call(et,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.filter)){var tt=Array.prototype.filter;Z(Array.prototype,"filter",function(e){return ne.Call(tt,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.some)){var nt=Array.prototype.some;Z(Array.prototype,"some",function(e){return ne.Call(nt,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.every)){var rt=Array.prototype.every;Z(Array.prototype,"every",function(e){return ne.Call(rt,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.reduce)){var ot=Array.prototype.reduce;Z(Array.prototype,"reduce",function(e){return ne.Call(ot,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.reduceRight,!0)){var it=Array.prototype.reduceRight;Z(Array.prototype,"reduceRight",function(e){return ne.Call(it,this.length>=0?this:[],arguments)},!0)}var at=8!==Number("0o10"),st=2!==Number("0b10"),lt=g(Fe,function(e){return 0===Number(e+0+e)});if(at||st||lt){var ut=Number,ct=/^0b[01]+$/i,pt=/^0o[0-7]+$/i,dt=ct.test.bind(ct),ft=pt.test.bind(pt),ht=function(e){var t;if("function"==typeof e.valueOf&&(t=e.valueOf(),$.primitive(t)))return t;if("function"==typeof e.toString&&(t=e.toString(),$.primitive(t)))return t;throw new TypeError("No default value")},mt=Ve.test.bind(Ve),vt=He.test.bind(He),gt=function(){var e=function(t){var n;n=arguments.length>0?$.primitive(t)?t:ht(t,"number"):0,"string"==typeof n&&(n=ne.Call(Le,n),dt(n)?n=parseInt(I(n,2),2):ft(n)?n=parseInt(I(n,2),8):(mt(n)||vt(n))&&(n=NaN));var r=this,o=u(function(){return ut.prototype.valueOf.call(r),!0});return r instanceof e&&!o?new ut(n):ut(n)};return e}();ye(ut,gt,{}),b(gt,{NaN:ut.NaN,MAX_VALUE:ut.MAX_VALUE,MIN_VALUE:ut.MIN_VALUE,NEGATIVE_INFINITY:ut.NEGATIVE_INFINITY,POSITIVE_INFINITY:ut.POSITIVE_INFINITY}),Number=gt,E.redefine(S,"Number",gt)}var yt=Math.pow(2,53)-1;b(Number,{MAX_SAFE_INTEGER:yt,MIN_SAFE_INTEGER:-yt,EPSILON:2.220446049250313e-16,parseInt:S.parseInt,parseFloat:S.parseFloat,isFinite:q,isInteger:function(e){return q(e)&&ne.ToInteger(e)===e},isSafeInteger:function(e){return Number.isInteger(e)&&F(e)<=Number.MAX_SAFE_INTEGER},isNaN:W}),y(Number,"parseInt",S.parseInt,Number.parseInt!==S.parseInt),[,1].find(function(e,t){return 0===t})||Z(Array.prototype,"find",We.find),0!==[,1].findIndex(function(e,t){return 0===t})&&Z(Array.prototype,"findIndex",We.findIndex);var bt=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable),wt=function(e,t){d&&bt(e,t)&&Object.defineProperty(e,t,{enumerable:!1})},xt=function(){for(var e=Number(this),t=arguments.length,n=t-e,r=new Array(n<0?0:n),o=e;o1?NaN:t===-1?-(1/0):1===t?1/0:0===t?t:.5*V((1+t)/(1-t))},cbrt:function(e){var t=Number(e);if(0===t)return t;var n,r=t<0;return r&&(t=-t),t===1/0?n=1/0:(n=Math.exp(V(t)/3),n=(t/(n*n)+2*n)/3),r?-n:n},clz32:function(e){var t=Number(e),n=ne.ToUint32(t);return 0===n?32:vn?ne.Call(vn,n):31-L(V(n+.5)*Math.LOG2E)},cosh:function(e){var t=Number(e);return 0===t?1:Number.isNaN(t)?NaN:C(t)?(t<0&&(t=-t),t>21?Math.exp(t)/2:(Math.exp(t)+Math.exp(-t))/2):1/0},expm1:function(e){var t=Number(e);if(t===-(1/0))return-1;if(!C(t)||0===t)return t;if(F(t)>.5)return Math.exp(t)-1;for(var n=t,r=0,o=1;r+n!==r;)r+=n,o+=1,n*=t/o;return r},hypot:function(e,t){for(var n=0,r=0,o=0;o0?i/r*(i/r):i}return r===1/0?1/0:r*H(n)},log2:function(e){return V(e)*Math.LOG2E},log10:function(e){return V(e)*Math.LOG10E},log1p:function(e){var t=Number(e);return t<-1||Number.isNaN(t)?NaN:0===t||t===1/0?t:t===-1?-(1/0):1+t-1===0?t:t*(V(1+t)/(1+t-1))},sign:function(e){var t=Number(e);return 0===t?t:Number.isNaN(t)?t:t<0?-1:1},sinh:function(e){var t=Number(e);return C(t)&&0!==t?F(t)<1?(Math.expm1(t)-Math.expm1(-t))/2:(Math.exp(t-1)-Math.exp(-t-1))*Math.E/2:t},tanh:function(e){var t=Number(e);if(Number.isNaN(t)||0===t)return t;if(t>=20)return 1;if(t<=-20)return-1;var n=Math.expm1(t),r=Math.expm1(-t);return n===1/0?1:r===1/0?-1:(n-r)/(Math.exp(t)+Math.exp(-t))},trunc:function(e){var t=Number(e);return t<0?-L(-t):L(t)},imul:function(e,t){var n=ne.ToUint32(e),r=ne.ToUint32(t),o=n>>>16&65535,i=65535&n,a=r>>>16&65535,s=65535&r;return i*s+(o*s+i*a<<16>>>0)|0},fround:function(e){var t=Number(e);if(0===t||t===1/0||t===-(1/0)||W(t))return t;var n=Math.sign(t),r=F(t);if(rhn||W(i)?n*(1/0):n*i}};b(Math,gn),y(Math,"log1p",gn.log1p,Math.log1p(-1e-17)!==-1e-17),y(Math,"asinh",gn.asinh,Math.asinh(-1e7)!==-Math.asinh(1e7)),y(Math,"tanh",gn.tanh,Math.tanh(-2e-17)!==-2e-17),y(Math,"acosh",gn.acosh,Math.acosh(Number.MAX_VALUE)===1/0),y(Math,"cbrt",gn.cbrt,Math.abs(1-Math.cbrt(1e-300)/1e-100)/Number.EPSILON>8),y(Math,"sinh",gn.sinh,Math.sinh(-2e-17)!==-2e-17);var yn=Math.expm1(10);y(Math,"expm1",gn.expm1,yn>22025.465794806718||yn<22025.465794806718);var bn=Math.round,wn=0===Math.round(.5-Number.EPSILON/4)&&1===Math.round(-.5+Number.EPSILON/3.99),xn=pn+1,En=2*pn-1,_n=[xn,En].every(function(e){return Math.round(e)===e});y(Math,"round",function(e){var t=L(e),n=t===-1?-0:t+1;return e-t<.5?t:n},!wn||!_n),E.preserveToString(Math.round,bn);var Tn=Math.imul;Math.imul(4294967295,5)!==-5&&(Math.imul=gn.imul,E.preserveToString(Math.imul,Tn)),2!==Math.imul.length&&Z(Math,"imul",function(e,t){return ne.Call(Tn,Math,arguments)});var On=function(){var e=S.setTimeout;if("function"==typeof e||"object"==typeof e){ne.IsPromise=function(e){return!!ne.TypeIsObject(e)&&"undefined"!=typeof e._promise};var t,r=function(e){if(!ne.IsConstructor(e))throw new TypeError("Bad promise constructor");var t=this,n=function(e,n){if(void 0!==t.resolve||void 0!==t.reject)throw new TypeError("Bad Promise implementation!");t.resolve=e,t.reject=n};if(t.resolve=void 0,t.reject=void 0,t.promise=new e(n),!ne.IsCallable(t.resolve)||!ne.IsCallable(t.reject))throw new TypeError("Bad promise constructor")};"undefined"!=typeof window&&ne.IsCallable(window.postMessage)&&(t=function(){var e=[],t="zero-timeout-message",n=function(n){A(e,n),window.postMessage(t,"*")},r=function(n){if(n.source===window&&n.data===t){if(n.stopPropagation(),0===e.length)return;var r=D(e);r()}};return window.addEventListener("message",r,!0),n});var o,i,s=function(){var e=S.Promise,t=e&&e.resolve&&e.resolve();return t&&function(e){return t.then(e)}},l=ne.IsCallable(S.setImmediate)?S.setImmediate:"object"==typeof a&&a.nextTick?a.nextTick:s()||(ne.IsCallable(t)?t():function(t){e(t,0)}),u=function(e){return e},c=function(e){throw e},p=0,d=1,f=2,h=0,m=1,v=2,g={},y=function(e,t,n){l(function(){w(e,t,n)})},w=function(e,t,n){var r,o;if(t===g)return e(n);try{r=e(n),o=t.resolve}catch(i){r=i,o=t.reject}o(r)},x=function(e,t){var n=e._promise,r=n.reactionLength;if(r>0&&(y(n.fulfillReactionHandler0,n.reactionCapability0,t),n.fulfillReactionHandler0=void 0,n.rejectReactions0=void 0,n.reactionCapability0=void 0,r>1))for(var o=1,i=0;o0&&(y(n.rejectReactionHandler0,n.reactionCapability0,t),n.fulfillReactionHandler0=void 0,n.rejectReactions0=void 0,n.reactionCapability0=void 0,r>1))for(var o=1,i=0;o2&&arguments[2]===g;o=a&&i===C?g:new r(i);var s,l=ne.IsCallable(e)?e:u,b=ne.IsCallable(t)?t:c,w=n._promise;if(w.state===p){if(0===w.reactionLength)w.fulfillReactionHandler0=l,w.rejectReactionHandler0=b,w.reactionCapability0=o;else{var x=3*(w.reactionLength-1);w[x+h]=l,w[x+m]=b,w[x+v]=o}w.reactionLength+=1}else if(w.state===d)s=w.result,y(l,o,s);else{if(w.state!==f)throw new TypeError("unexpected Promise state");s=w.result,y(b,o,s)}return o.promise}}),g=new r(C),i=o.then,C}}();if(S.Promise&&(delete S.Promise.accept,delete S.Promise.defer,delete S.Promise.prototype.chain),"function"==typeof On){b(S,{Promise:On});var Sn=T(S.Promise,function(e){return e.resolve(42).then(function(){})instanceof e}),Cn=!l(function(){S.Promise.reject(42).then(null,5).then(null,B)}),Pn=l(function(){S.Promise.call(3,B)}),kn=function(e){var t=e.resolve(5);t.constructor={};var n=e.resolve(t);try{n.then(null,B).then(null,B)}catch(r){return!0}return t===n}(S.Promise),Mn=d&&function(){var e=0,t=Object.defineProperty({},"then",{get:function(){e+=1}});return Promise.resolve(t),1===e}(),In=function Ir(e){var t=new Promise(e);e(3,function(){}),this.then=t.then,this.constructor=Ir};In.prototype=Promise.prototype,In.all=Promise.all;var An=u(function(){return!!In.all([1,2])});if(Sn&&Cn&&Pn&&!kn&&Mn&&!An||(Promise=On,Z(S,"Promise",On)),1!==Promise.all.length){var Nn=Promise.all;Z(Promise,"all",function(e){return ne.Call(Nn,this,arguments)})}if(1!==Promise.race.length){var Dn=Promise.race;Z(Promise,"race",function(e){return ne.Call(Dn,this,arguments)})}if(1!==Promise.resolve.length){var Rn=Promise.resolve;Z(Promise,"resolve",function(e){return ne.Call(Rn,this,arguments)})}if(1!==Promise.reject.length){var jn=Promise.reject;Z(Promise,"reject",function(e){return ne.Call(jn,this,arguments)})}wt(Promise,"all"),wt(Promise,"race"),wt(Promise,"resolve"),wt(Promise,"reject"),we(Promise)}var Ln=function(e){var t=o(m(e,function(e,t){return e[t]=!0,e},{}));return e.join(":")===t.join(":")},Fn=Ln(["z","a","bb"]),Vn=Ln(["z",1,"a","3",2]);if(d){var Hn=function(e){return Fn?"undefined"==typeof e||null===e?"^"+ne.ToString(e):"string"==typeof e?"$"+e:"number"==typeof e?Vn?e:"n"+e:"boolean"==typeof e?"b"+e:null:null},Un=function(){return Object.create?Object.create(null):{}},Bn=function(e,t,o){if(r(o)||$.string(o))h(o,function(e){if(!ne.TypeIsObject(e))throw new TypeError("Iterator value "+e+" is not an entry object");t.set(e[0],e[1])});else if(o instanceof e)n(e.prototype.forEach,o,function(e,n){t.set(n,e)});else{var i,a;if(null!==o&&"undefined"!=typeof o){if(a=t.set,!ne.IsCallable(a))throw new TypeError("bad map");i=ne.GetIterator(o)}if("undefined"!=typeof i)for(;;){var s=ne.IteratorStep(i);if(s===!1)break;var l=s.value;try{if(!ne.TypeIsObject(l))throw new TypeError("Iterator value "+l+" is not an entry object");n(a,t,l[0],l[1])}catch(u){throw ne.IteratorClose(i,!0),u}}}},zn=function(e,t,o){if(r(o)||$.string(o))h(o,function(e){t.add(e)});else if(o instanceof e)n(e.prototype.forEach,o,function(e){t.add(e)});else{var i,a;if(null!==o&&"undefined"!=typeof o){if(a=t.add,!ne.IsCallable(a))throw new TypeError("bad set");i=ne.GetIterator(o)}if("undefined"!=typeof i)for(;;){var s=ne.IteratorStep(i);if(s===!1)break;var l=s.value;try{n(a,t,l)}catch(u){throw ne.IteratorClose(i,!0),u}}}},Gn={Map:function(){var e={},t=function(e,t){this.key=e,this.value=t,this.next=null,this.prev=null};t.prototype.isRemoved=function(){return this.key===e};var r=function(e){return!!e._es6map},o=function(e,t){if(!ne.TypeIsObject(e)||!r(e))throw new TypeError("Method Map.prototype."+t+" called on incompatible receiver "+ne.ToString(e))},i=function(e,t){o(e,"[[MapIterator]]"),this.head=e._head,this.i=this.head,this.kind=t};i.prototype={next:function(){var e,t=this.i,n=this.kind,r=this.head;if("undefined"==typeof this.i)return{value:void 0,done:!0};for(;t.isRemoved()&&t!==r;)t=t.prev;for(;t.next!==r;)if(t=t.next,!t.isRemoved())return e="key"===n?t.key:"value"===n?t.value:[t.key,t.value],this.i=t,{value:e,done:!1};return this.i=void 0,{value:void 0,done:!0}}},xe(i.prototype);var a,s=function l(){if(!(this instanceof l))throw new TypeError('Constructor Map requires "new"');if(this&&this._es6map)throw new TypeError("Bad construction");var e=Te(this,l,a,{_es6map:!0,_head:null,_storage:Un(),_size:0}),n=new t(null,null);return n.next=n.prev=n,e._head=n,arguments.length>0&&Bn(l,e,arguments[0]),e};return a=s.prototype,E.getter(a,"size",function(){if("undefined"==typeof this._size)throw new TypeError("size method called on incompatible Map");return this._size}),b(a,{get:function(e){o(this,"get");var t=Hn(e);if(null!==t){var n=this._storage[t];return n?n.value:void 0}for(var r=this._head,i=r;(i=i.next)!==r;)if(ne.SameValueZero(i.key,e))return i.value},has:function(e){o(this,"has");var t=Hn(e);if(null!==t)return"undefined"!=typeof this._storage[t];for(var n=this._head,r=n;(r=r.next)!==n;)if(ne.SameValueZero(r.key,e))return!0;return!1},set:function(e,n){o(this,"set");var r,i=this._head,a=i,s=Hn(e);if(null!==s){if("undefined"!=typeof this._storage[s])return this._storage[s].value=n,this;r=this._storage[s]=new t(e,n),a=i.prev}for(;(a=a.next)!==i;)if(ne.SameValueZero(a.key,e))return a.value=n,this;return r=r||new t(e,n),ne.SameValue(-0,e)&&(r.key=0),r.next=this._head,r.prev=this._head.prev,r.prev.next=r,r.next.prev=r,this._size+=1,this},"delete":function(t){o(this,"delete");var n=this._head,r=n,i=Hn(t);if(null!==i){if("undefined"==typeof this._storage[i])return!1;r=this._storage[i].prev,delete this._storage[i]}for(;(r=r.next)!==n;)if(ne.SameValueZero(r.key,t))return r.key=r.value=e,r.prev.next=r.next,r.next.prev=r.prev,this._size-=1,!0;return!1},clear:function(){o(this,"clear"),this._size=0,this._storage=Un();for(var t=this._head,n=t,r=n.next;(n=r)!==t;)n.key=n.value=e,r=n.next,n.next=n.prev=t;t.next=t.prev=t},keys:function(){return o(this,"keys"),new i(this,"key")},values:function(){return o(this,"values"),new i(this,"value")},entries:function(){return o(this,"entries"),new i(this,"key+value")},forEach:function(e){o(this,"forEach");for(var t=arguments.length>1?arguments[1]:null,r=this.entries(),i=r.next();!i.done;i=r.next())t?n(e,t,i.value[1],i.value[0],this):e(i.value[1],i.value[0],this)}}),xe(a,a.entries),s}(),Set:function(){var e,t=function(e){return e._es6set&&"undefined"!=typeof e._storage},r=function(e,n){if(!ne.TypeIsObject(e)||!t(e))throw new TypeError("Set.prototype."+n+" called on incompatible receiver "+ne.ToString(e))},i=function l(){if(!(this instanceof l))throw new TypeError('Constructor Set requires "new"');if(this&&this._es6set)throw new TypeError("Bad construction");var t=Te(this,l,e,{_es6set:!0,"[[SetData]]":null,_storage:Un()});if(!t._es6set)throw new TypeError("bad set");return arguments.length>0&&zn(l,t,arguments[0]),t};e=i.prototype;var a=function(e){var t=e;if("^null"===t)return null;if("^undefined"!==t){var n=t.charAt(0);return"$"===n?I(t,1):"n"===n?+I(t,1):"b"===n?"btrue"===t:+t}},s=function(e){if(!e["[[SetData]]"]){var t=e["[[SetData]]"]=new Gn.Map;h(o(e._storage),function(e){var n=a(e);t.set(n,n)}),e["[[SetData]]"]=t}e._storage=null};return E.getter(i.prototype,"size",function(){return r(this,"size"),this._storage?o(this._storage).length:(s(this),this["[[SetData]]"].size)}),b(i.prototype,{has:function(e){r(this,"has");var t;return this._storage&&null!==(t=Hn(e))?!!this._storage[t]:(s(this),this["[[SetData]]"].has(e))},add:function(e){r(this,"add");var t;return this._storage&&null!==(t=Hn(e))?(this._storage[t]=!0,this):(s(this),this["[[SetData]]"].set(e,e),this)},"delete":function(e){r(this,"delete");var t;if(this._storage&&null!==(t=Hn(e))){var n=U(this._storage,t);return delete this._storage[t]&&n}return s(this),this["[[SetData]]"]["delete"](e)},clear:function(){r(this,"clear"),this._storage&&(this._storage=Un()),this["[[SetData]]"]&&this["[[SetData]]"].clear()},values:function(){return r(this,"values"),s(this),this["[[SetData]]"].values()},entries:function(){return r(this,"entries"),s(this),this["[[SetData]]"].entries()},forEach:function(e){r(this,"forEach");var t=arguments.length>1?arguments[1]:null,o=this;s(o),this["[[SetData]]"].forEach(function(r,i){t?n(e,t,i,i,o):e(i,i,o)})}}),y(i.prototype,"keys",i.prototype.values,!0),xe(i.prototype,i.prototype.values),i}()};if(S.Map||S.Set){var Wn=u(function(){return 2===new Map([[1,2]]).get(1)});if(!Wn){var qn=S.Map;S.Map=function Ar(){if(!(this instanceof Ar))throw new TypeError('Constructor Map requires "new"');var e=new qn;return arguments.length>0&&Bn(Ar,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,S.Map.prototype),e},S.Map.prototype=_(qn.prototype),y(S.Map.prototype,"constructor",S.Map,!0),E.preserveToString(S.Map,qn)}var Yn=new Map,Kn=function(){var e=new Map([[1,0],[2,0],[3,0],[4,0]]);return e.set(-0,e),e.get(0)===e&&e.get(-0)===e&&e.has(0)&&e.has(-0)}(),Xn=Yn.set(1,2)===Yn;if(!Kn||!Xn){var $n=Map.prototype.set;Z(Map.prototype,"set",function(e,t){return n($n,this,0===e?0:e,t),this})}if(!Kn){var Zn=Map.prototype.get,Qn=Map.prototype.has;b(Map.prototype,{get:function(e){return n(Zn,this,0===e?0:e)},has:function(e){return n(Qn,this,0===e?0:e)}},!0),E.preserveToString(Map.prototype.get,Zn),E.preserveToString(Map.prototype.has,Qn)}var Jn=new Set,er=function(e){return e["delete"](0),e.add(-0),!e.has(0)}(Jn),tr=Jn.add(1)===Jn;if(!er||!tr){var nr=Set.prototype.add;Set.prototype.add=function(e){return n(nr,this,0===e?0:e),this},E.preserveToString(Set.prototype.add,nr)}if(!er){var rr=Set.prototype.has;Set.prototype.has=function(e){return n(rr,this,0===e?0:e)},E.preserveToString(Set.prototype.has,rr);var or=Set.prototype["delete"];Set.prototype["delete"]=function(e){return n(or,this,0===e?0:e)},E.preserveToString(Set.prototype["delete"],or)}var ir=T(S.Map,function(e){var t=new e([]);return t.set(42,42),t instanceof e}),ar=Object.setPrototypeOf&&!ir,sr=function(){try{return!(S.Map()instanceof S.Map)}catch(e){return e instanceof TypeError}}();if(0!==S.Map.length||ar||!sr){var lr=S.Map;S.Map=function Nr(){if(!(this instanceof Nr))throw new TypeError('Constructor Map requires "new"');var e=new lr;return arguments.length>0&&Bn(Nr,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,Nr.prototype),e},S.Map.prototype=lr.prototype,y(S.Map.prototype,"constructor",S.Map,!0),E.preserveToString(S.Map,lr)}var ur=T(S.Set,function(e){var t=new e([]);return t.add(42,42),t instanceof e}),cr=Object.setPrototypeOf&&!ur,pr=function(){try{return!(S.Set()instanceof S.Set)}catch(e){return e instanceof TypeError}}();if(0!==S.Set.length||cr||!pr){var dr=S.Set;S.Set=function Dr(){if(!(this instanceof Dr))throw new TypeError('Constructor Set requires "new"');var e=new dr;return arguments.length>0&&zn(Dr,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,Dr.prototype),e},S.Set.prototype=dr.prototype,y(S.Set.prototype,"constructor",S.Set,!0),E.preserveToString(S.Set,dr)}var fr=!u(function(){return(new Map).keys().next().done});if(("function"!=typeof S.Map.prototype.clear||0!==(new S.Set).size||0!==(new S.Map).size||"function"!=typeof S.Map.prototype.keys||"function"!=typeof S.Set.prototype.keys||"function"!=typeof S.Map.prototype.forEach||"function"!=typeof S.Set.prototype.forEach||c(S.Map)||c(S.Set)||"function"!=typeof(new S.Map).keys().next||fr||!ir)&&b(S,{Map:Gn.Map,Set:Gn.Set},!0),S.Set.prototype.keys!==S.Set.prototype.values&&y(S.Set.prototype,"keys",S.Set.prototype.values,!0),xe(Object.getPrototypeOf((new S.Map).keys())),xe(Object.getPrototypeOf((new S.Set).keys())),f&&"has"!==S.Set.prototype.has.name){var hr=S.Set.prototype.has;Z(S.Set.prototype,"has",function(e){return n(hr,this,e)})}}b(S,Gn),we(S.Map),we(S.Set)}var mr=function(e){if(!ne.TypeIsObject(e))throw new TypeError("target must be an object")},vr={apply:function(){return ne.Call(ne.Call,null,arguments)},construct:function(e,t){if(!ne.IsConstructor(e))throw new TypeError("First argument must be a constructor.");var n=arguments.length>2?arguments[2]:e;if(!ne.IsConstructor(n))throw new TypeError("new.target must be a constructor.");return ne.Construct(e,t,n,"internal")},deleteProperty:function(e,t){if(mr(e),d){var n=Object.getOwnPropertyDescriptor(e,t);if(n&&!n.configurable)return!1}return delete e[t]},has:function(e,t){return mr(e),t in e}};Object.getOwnPropertyNames&&Object.assign(vr,{ownKeys:function(e){mr(e);var t=Object.getOwnPropertyNames(e);return ne.IsCallable(Object.getOwnPropertySymbols)&&N(t,Object.getOwnPropertySymbols(e)),t}});var gr=function(e){return!l(e)};if(Object.preventExtensions&&Object.assign(vr,{isExtensible:function(e){return mr(e),Object.isExtensible(e)},preventExtensions:function(e){return mr(e),gr(function(){Object.preventExtensions(e)})}}),d){var yr=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t);if(!r){var o=Object.getPrototypeOf(e);if(null===o)return;return yr(o,t,n)}return"value"in r?r.value:r.get?ne.Call(r.get,n):void 0},br=function(e,t,r,o){var i=Object.getOwnPropertyDescriptor(e,t);if(!i){var a=Object.getPrototypeOf(e);if(null!==a)return br(a,t,r,o);i={value:void 0,writable:!0,enumerable:!0,configurable:!0}}if("value"in i){if(!i.writable)return!1;if(!ne.TypeIsObject(o))return!1;var s=Object.getOwnPropertyDescriptor(o,t);return s?ee.defineProperty(o,t,{value:r}):ee.defineProperty(o,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}return!!i.set&&(n(i.set,o,r),!0)};Object.assign(vr,{defineProperty:function(e,t,n){return mr(e),gr(function(){Object.defineProperty(e,t,n)})},getOwnPropertyDescriptor:function(e,t){return mr(e),Object.getOwnPropertyDescriptor(e,t)},get:function(e,t){mr(e);var n=arguments.length>2?arguments[2]:e;return yr(e,t,n)},set:function(e,t,n){mr(e);var r=arguments.length>3?arguments[3]:e;return br(e,t,n,r)}})}if(Object.getPrototypeOf){var wr=Object.getPrototypeOf;vr.getPrototypeOf=function(e){return mr(e),wr(e)}}if(Object.setPrototypeOf&&vr.getPrototypeOf){var xr=function(e,t){for(var n=t;n;){if(e===n)return!0;n=vr.getPrototypeOf(n)}return!1};Object.assign(vr,{setPrototypeOf:function(e,t){if(mr(e),null!==t&&!ne.TypeIsObject(t))throw new TypeError("proto must be an object or null");return t===ee.getPrototypeOf(e)||!(ee.isExtensible&&!ee.isExtensible(e))&&!xr(e,t)&&(Object.setPrototypeOf(e,t),!0)}})}var Er=function(e,t){if(ne.IsCallable(S.Reflect[e])){var n=u(function(){return S.Reflect[e](1),S.Reflect[e](NaN),S.Reflect[e](!0),!0});n&&Z(S.Reflect,e,t)}else y(S.Reflect,e,t)};Object.keys(vr).forEach(function(e){Er(e,vr[e])});var _r=S.Reflect.getPrototypeOf;if(f&&_r&&"getPrototypeOf"!==_r.name&&Z(S.Reflect,"getPrototypeOf",function(e){return n(_r,S.Reflect,e)}),S.Reflect.setPrototypeOf&&u(function(){return S.Reflect.setPrototypeOf(1,{}),!0})&&Z(S.Reflect,"setPrototypeOf",vr.setPrototypeOf),S.Reflect.defineProperty&&(u(function(){var e=!S.Reflect.defineProperty(1,"test",{value:1}),t="function"!=typeof Object.preventExtensions||!S.Reflect.defineProperty(Object.preventExtensions({}),"test",{});return e&&t})||Z(S.Reflect,"defineProperty",vr.defineProperty)),S.Reflect.construct&&(u(function(){var e=function(){};return S.Reflect.construct(function(){},[],e)instanceof e})||Z(S.Reflect,"construct",vr.construct)),"Invalid Date"!==String(new Date(NaN))){var Tr=Date.prototype.toString,Or=function(){var e=+this;return e!==e?"Invalid Date":ne.Call(Tr,this)};Z(Date.prototype,"toString",Or)}var Sr={anchor:function(e){return ne.CreateHTML(this,"a","name",e)},big:function(){return ne.CreateHTML(this,"big","","")},blink:function(){return ne.CreateHTML(this,"blink","","")},bold:function(){return ne.CreateHTML(this,"b","","")},fixed:function(){return ne.CreateHTML(this,"tt","","")},fontcolor:function(e){return ne.CreateHTML(this,"font","color",e)},fontsize:function(e){return ne.CreateHTML(this,"font","size",e)},italics:function(){return ne.CreateHTML(this,"i","","")},link:function(e){return ne.CreateHTML(this,"a","href",e)},small:function(){return ne.CreateHTML(this,"small","","")},strike:function(){return ne.CreateHTML(this,"strike","","")},sub:function(){return ne.CreateHTML(this,"sub","","")},sup:function(){return ne.CreateHTML(this,"sup","","")}};h(Object.keys(Sr),function(e){var t=String.prototype[e],r=!1;if(ne.IsCallable(t)){var o=n(t,"",' " '),i=M([],o.match(/"/g)).length;r=o!==o.toLowerCase()||i>2}else r=!0;r&&Z(String.prototype,e,Sr[e])});var Cr=function(){if(!Q)return!1;var e="object"==typeof JSON&&"function"==typeof JSON.stringify?JSON.stringify:null;if(!e)return!1;if("undefined"!=typeof e(z()))return!0;if("[null]"!==e([z()]))return!0;var t={a:z()};return t[z()]=!0,"{}"!==e(t)}(),Pr=u(function(){return!Q||"{}"===JSON.stringify(Object(z()))&&"[{}]"===JSON.stringify([Object(z())])});if(Cr||!Pr){var kr=JSON.stringify;Z(JSON,"stringify",function(e){if("symbol"!=typeof e){var t;arguments.length>1&&(t=arguments[1]);var o=[e];if(r(t))o.push(t);else{var i=ne.IsCallable(t)?t:null,a=function(e,t){var r=i?n(i,this,e,t):t;if("symbol"!=typeof r)return $.symbol(r)?Et({})(r):r};o.push(a)}return arguments.length>2&&o.push(arguments[2]),kr.apply(this,o)}})}return S})}).call(t,function(){return this}(),n(25))},function(e,t,n){var r;/*! +!function(i,a){r=a,o="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==o&&(e.exports=o))}(this,function(){"use strict";var e,t=Function.call.bind(Function.apply),n=Function.call.bind(Function.call),r=Array.isArray,o=Object.keys,s=function(e){return function(){return!t(e,this,arguments)}},l=function(e){try{return e(),!1}catch(t){return!0}},u=function(e){try{return e()}catch(t){return!1}},c=s(l),p=function(){return!l(function(){Object.defineProperty({},"x",{get:function(){}})})},d=!!Object.defineProperty&&p(),f="foo"===function(){}.name,h=Function.call.bind(Array.prototype.forEach),m=Function.call.bind(Array.prototype.reduce),v=Function.call.bind(Array.prototype.filter),g=Function.call.bind(Array.prototype.some),y=function(e,t,n,r){!r&&t in e||(d?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n}):e[t]=n)},b=function(e,t,n){h(o(t),function(r){var o=t[r];y(e,r,o,!!n)})},w=Function.call.bind(Object.prototype.toString),x=function(e){return"function"==typeof e},E={getter:function(e,t,n){if(!d)throw new TypeError("getters require true ES5 support");Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get:n})},proxy:function(e,t,n){if(!d)throw new TypeError("getters require true ES5 support");var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,{configurable:r.configurable,enumerable:r.enumerable,get:function(){return e[t]},set:function(n){e[t]=n}})},redefine:function(e,t,n){if(d){var r=Object.getOwnPropertyDescriptor(e,t);r.value=n,Object.defineProperty(e,t,r)}else e[t]=n},defineByDescriptor:function(e,t,n){d?Object.defineProperty(e,t,n):"value"in n&&(e[t]=n.value)},preserveToString:function(e,t){t&&x(t.toString)&&y(e,"toString",t.toString.bind(t),!0)}},_=Object.create||function(e,t){var n=function(){};n.prototype=e;var r=new n;return"undefined"!=typeof t&&o(t).forEach(function(e){E.defineByDescriptor(r,e,t[e])}),r},O=function(e,t){return!!Object.setPrototypeOf&&u(function(){var n=function r(t){var n=new e(t);return Object.setPrototypeOf(n,r.prototype),n};return Object.setPrototypeOf(n,e),n.prototype=_(e.prototype,{constructor:{value:n}}),t(n)})},T=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof i)return i;throw new Error("unable to locate global object")},S=T(),C=S.isFinite,P=Function.call.bind(String.prototype.indexOf),k=Function.apply.bind(Array.prototype.indexOf),M=Function.call.bind(Array.prototype.concat),I=(Function.call.bind(Array.prototype.sort),Function.call.bind(String.prototype.slice)),A=Function.call.bind(Array.prototype.push),D=Function.apply.bind(Array.prototype.push),N=Function.call.bind(Array.prototype.shift),R=Math.max,j=Math.min,L=Math.floor,F=Math.abs,V=Math.log,H=Math.sqrt,U=Function.call.bind(Object.prototype.hasOwnProperty),B=function(){},z=S.Symbol||{},G=z.species||"@@species",W=Number.isNaN||function(e){return e!==e},q=Number.isFinite||function(e){return"number"==typeof e&&C(e)},Y=function(e){return"[object Arguments]"===w(e)},K=function(e){return null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==w(e)&&"[object Function]"===w(e.callee)},X=Y(arguments)?Y:K,$={primitive:function(e){return null===e||"function"!=typeof e&&"object"!=typeof e},object:function(e){return null!==e&&"object"==typeof e},string:function(e){return"[object String]"===w(e)},regex:function(e){return"[object RegExp]"===w(e)},symbol:function(e){return"function"==typeof S.Symbol&&"symbol"==typeof e}},Z=function(e,t,n){var r=e[t];y(e,t,n,!0),E.preserveToString(e[t],r)},Q="function"==typeof z&&"function"==typeof z["for"]&&$.symbol(z()),J=$.symbol(z.iterator)?z.iterator:"_es6-shim iterator_";S.Set&&"function"==typeof(new S.Set)["@@iterator"]&&(J="@@iterator"),S.Reflect||y(S,"Reflect",{},!0);var ee=S.Reflect,te=String,ne={Call:function(e,n){var r=arguments.length>2?arguments[2]:[];if(!ne.IsCallable(e))throw new TypeError(e+" is not a function");return t(e,n,r)},RequireObjectCoercible:function(e,t){if(null==e)throw new TypeError(t||"Cannot call method on "+e);return e},TypeIsObject:function(e){return void 0!==e&&null!==e&&e!==!0&&e!==!1&&("function"==typeof e||"object"==typeof e)},ToObject:function(e,t){return Object(ne.RequireObjectCoercible(e,t))},IsCallable:x,IsConstructor:function(e){return ne.IsCallable(e)},ToInt32:function(e){return ne.ToNumber(e)>>0},ToUint32:function(e){return ne.ToNumber(e)>>>0},ToNumber:function(e){if("[object Symbol]"===w(e))throw new TypeError("Cannot convert a Symbol value to a number");return+e},ToInteger:function(e){var t=ne.ToNumber(e);return W(t)?0:0!==t&&q(t)?(t>0?1:-1)*L(F(t)):t},ToLength:function(e){var t=ne.ToInteger(e);return t<=0?0:t>Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t},SameValue:function(e,t){return e===t?0!==e||1/e===1/t:W(e)&&W(t)},SameValueZero:function(e,t){return e===t||W(e)&&W(t)},IsIterable:function(e){return ne.TypeIsObject(e)&&("undefined"!=typeof e[J]||X(e))},GetIterator:function(t){if(X(t))return new e(t,"value");var n=ne.GetMethod(t,J);if(!ne.IsCallable(n))throw new TypeError("value is not an iterable");var r=ne.Call(n,t);if(!ne.TypeIsObject(r))throw new TypeError("bad iterator");return r},GetMethod:function(e,t){var n=ne.ToObject(e)[t];if(void 0!==n&&null!==n){if(!ne.IsCallable(n))throw new TypeError("Method not callable: "+t);return n}},IteratorComplete:function(e){return!!e.done},IteratorClose:function(e,t){var n=ne.GetMethod(e,"return");if(void 0!==n){var r,o;try{r=ne.Call(n,e)}catch(i){o=i}if(!t){if(o)throw o;if(!ne.TypeIsObject(r))throw new TypeError("Iterator's return method returned a non-object.")}}},IteratorNext:function(e){var t=arguments.length>1?e.next(arguments[1]):e.next();if(!ne.TypeIsObject(t))throw new TypeError("bad iterator");return t},IteratorStep:function(e){var t=ne.IteratorNext(e),n=ne.IteratorComplete(t);return!n&&t},Construct:function(e,t,n,r){var o="undefined"==typeof n?e:n;if(!r&&ee.construct)return ee.construct(e,t,o);var i=o.prototype;ne.TypeIsObject(i)||(i=Object.prototype);var a=_(i),s=ne.Call(e,a,t);return ne.TypeIsObject(s)?s:a},SpeciesConstructor:function(e,t){var n=e.constructor;if(void 0===n)return t;if(!ne.TypeIsObject(n))throw new TypeError("Bad constructor");var r=n[G];if(void 0===r||null===r)return t;if(!ne.IsConstructor(r))throw new TypeError("Bad @@species");return r},CreateHTML:function(e,t,n,r){var o=ne.ToString(e),i="<"+t;if(""!==n){var a=ne.ToString(r),s=a.replace(/"/g,""");i+=" "+n+'="'+s+'"'}var l=i+">",u=l+o;return u+""},IsRegExp:function(e){if(!ne.TypeIsObject(e))return!1;var t=e[z.match];return"undefined"!=typeof t?!!t:$.regex(e)},ToString:function(e){return te(e)}};if(d&&Q){var re=function(e){if($.symbol(z[e]))return z[e];var t=z["for"]("Symbol."+e);return Object.defineProperty(z,e,{configurable:!1,enumerable:!1,writable:!1,value:t}),t};if(!$.symbol(z.search)){var oe=re("search"),ie=String.prototype.search;y(RegExp.prototype,oe,function(e){return ne.Call(ie,e,[this])});var ae=function(e){var t=ne.RequireObjectCoercible(this);if(null!==e&&"undefined"!=typeof e){var n=ne.GetMethod(e,oe);if("undefined"!=typeof n)return ne.Call(n,e,[t])}return ne.Call(ie,t,[ne.ToString(e)])};Z(String.prototype,"search",ae)}if(!$.symbol(z.replace)){var se=re("replace"),le=String.prototype.replace;y(RegExp.prototype,se,function(e,t){return ne.Call(le,e,[this,t])});var ue=function(e,t){var n=ne.RequireObjectCoercible(this);if(null!==e&&"undefined"!=typeof e){var r=ne.GetMethod(e,se);if("undefined"!=typeof r)return ne.Call(r,e,[n,t])}return ne.Call(le,n,[ne.ToString(e),t])};Z(String.prototype,"replace",ue)}if(!$.symbol(z.split)){var ce=re("split"),pe=String.prototype.split;y(RegExp.prototype,ce,function(e,t){return ne.Call(pe,e,[this,t])});var de=function(e,t){var n=ne.RequireObjectCoercible(this);if(null!==e&&"undefined"!=typeof e){var r=ne.GetMethod(e,ce);if("undefined"!=typeof r)return ne.Call(r,e,[n,t])}return ne.Call(pe,n,[ne.ToString(e),t])};Z(String.prototype,"split",de)}var fe=$.symbol(z.match),he=fe&&function(){var e={};return e[z.match]=function(){return 42},42!=="a".match(e)}();if(!fe||he){var me=re("match"),ve=String.prototype.match;y(RegExp.prototype,me,function(e){return ne.Call(ve,e,[this])});var ge=function(e){var t=ne.RequireObjectCoercible(this);if(null!==e&&"undefined"!=typeof e){var n=ne.GetMethod(e,me);if("undefined"!=typeof n)return ne.Call(n,e,[t])}return ne.Call(ve,t,[ne.ToString(e)])};Z(String.prototype,"match",ge)}}var ye=function(e,t,n){E.preserveToString(t,e),Object.setPrototypeOf&&Object.setPrototypeOf(e,t),d?h(Object.getOwnPropertyNames(e),function(r){r in B||n[r]||E.proxy(e,r,t)}):h(Object.keys(e),function(r){r in B||n[r]||(t[r]=e[r])}),t.prototype=e.prototype,E.redefine(e.prototype,"constructor",t)},be=function(){return this},we=function(e){d&&!U(e,G)&&E.getter(e,G,be)},xe=function(e,t){var n=t||function(){return this};y(e,J,n),!e[J]&&$.symbol(J)&&(e[J]=n)},Ee=function(e,t,n){d?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n},_e=function(e,t,n){if(Ee(e,t,n),!ne.SameValue(e[t],n))throw new TypeError("property is nonconfigurable")},Oe=function(e,t,n,r){if(!ne.TypeIsObject(e))throw new TypeError("Constructor requires `new`: "+t.name);var o=t.prototype;ne.TypeIsObject(o)||(o=n);var i=_(o);for(var a in r)if(U(r,a)){var s=r[a];y(i,a,s,!0)}return i};if(String.fromCodePoint&&1!==String.fromCodePoint.length){var Te=String.fromCodePoint;Z(String,"fromCodePoint",function(e){return ne.Call(Te,this,arguments)})}var Se={fromCodePoint:function(e){for(var t,n=[],r=0,o=arguments.length;r1114111)throw new RangeError("Invalid code point "+t);t<65536?A(n,String.fromCharCode(t)):(t-=65536,A(n,String.fromCharCode((t>>10)+55296)),A(n,String.fromCharCode(t%1024+56320)))}return n.join("")},raw:function(e){var t=ne.ToObject(e,"bad callSite"),n=ne.ToObject(t.raw,"bad raw value"),r=n.length,o=ne.ToLength(r);if(o<=0)return"";for(var i,a,s,l,u=[],c=0;c=o));)a=c+1=Pe)throw new RangeError("repeat count must be less than infinity and not overflow maximum string size");return Ce(t,n)},startsWith:function(e){var t=ne.ToString(ne.RequireObjectCoercible(this));if(ne.IsRegExp(e))throw new TypeError('Cannot call method "startsWith" with a regex');var n,r=ne.ToString(e);arguments.length>1&&(n=arguments[1]);var o=R(ne.ToInteger(n),0);return I(t,o,o+r.length)===r},endsWith:function(e){var t=ne.ToString(ne.RequireObjectCoercible(this));if(ne.IsRegExp(e))throw new TypeError('Cannot call method "endsWith" with a regex');var n,r=ne.ToString(e),o=t.length;arguments.length>1&&(n=arguments[1]);var i="undefined"==typeof n?o:ne.ToInteger(n),a=j(R(i,0),o);return I(t,a-r.length,a)===r},includes:function(e){if(ne.IsRegExp(e))throw new TypeError('"includes" does not accept a RegExp');var t,n=ne.ToString(e);return arguments.length>1&&(t=arguments[1]),P(this,n,t)!==-1},codePointAt:function(e){var t=ne.ToString(ne.RequireObjectCoercible(this)),n=ne.ToInteger(e),r=t.length;if(n>=0&&n56319||i)return o;var a=t.charCodeAt(n+1);return a<56320||a>57343?o:1024*(o-55296)+(a-56320)+65536}}};if(String.prototype.includes&&"a".includes("a",1/0)!==!1&&Z(String.prototype,"includes",ke.includes),String.prototype.startsWith&&String.prototype.endsWith){var Me=l(function(){"/a/".startsWith(/a/)}),Ie=u(function(){return"abc".startsWith("a",1/0)===!1});Me&&Ie||(Z(String.prototype,"startsWith",ke.startsWith),Z(String.prototype,"endsWith",ke.endsWith))}if(Q){var Ae=u(function(){var e=/a/;return e[z.match]=!1,"/a/".startsWith(e)});Ae||Z(String.prototype,"startsWith",ke.startsWith);var De=u(function(){var e=/a/;return e[z.match]=!1,"/a/".endsWith(e)});De||Z(String.prototype,"endsWith",ke.endsWith);var Ne=u(function(){var e=/a/;return e[z.match]=!1,"/a/".includes(e)});Ne||Z(String.prototype,"includes",ke.includes)}b(String.prototype,ke);var Re=["\t\n\x0B\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),je=new RegExp("(^["+Re+"]+)|(["+Re+"]+$)","g"),Le=function(){return ne.ToString(ne.RequireObjectCoercible(this)).replace(je,"")},Fe=["…","​","￾"].join(""),Ve=new RegExp("["+Fe+"]","g"),He=/^[\-+]0x[0-9a-f]+$/i,Ue=Fe.trim().length!==Fe.length;y(String.prototype,"trim",Le,Ue);var Be=function(e){ne.RequireObjectCoercible(e),this._s=ne.ToString(e),this._i=0};Be.prototype.next=function(){var e=this._s,t=this._i;if("undefined"==typeof e||t>=e.length)return this._s=void 0,{value:void 0,done:!0};var n,r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===e.length?r=1:(n=e.charCodeAt(t+1),r=n<56320||n>57343?1:2),this._i=t+r,{value:e.substr(t,r),done:!1}},xe(Be.prototype),xe(String.prototype,function(){return new Be(this)});var ze={from:function(e){var t,r=this;arguments.length>1&&(t=arguments[1]);var o,i;if("undefined"==typeof t)o=!1;else{if(!ne.IsCallable(t))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2]),o=!0}var a,s,l,u="undefined"!=typeof(X(e)||ne.GetMethod(e,J));if(u){s=ne.IsConstructor(r)?Object(new r):[];var c,p,d=ne.GetIterator(e);for(l=0;c=ne.IteratorStep(d),c!==!1;){p=c.value;try{o&&(p="undefined"==typeof i?t(p,l):n(t,i,p,l)),s[l]=p}catch(f){throw ne.IteratorClose(d,!0),f}l+=1}a=l}else{var h=ne.ToObject(e);a=ne.ToLength(h.length),s=ne.IsConstructor(r)?Object(new r(a)):new Array(a);var m;for(l=0;l2&&(n=arguments[2]);var u="undefined"==typeof n?o:ne.ToInteger(n),c=u<0?R(o+u,0):j(u,o),p=j(c-l,o-s),d=1;for(l0;)l in r?r[s]=r[l]:delete r[s],l+=d,s+=d,p-=1;return r},fill:function(e){var t;arguments.length>1&&(t=arguments[1]);var n;arguments.length>2&&(n=arguments[2]);var r=ne.ToObject(this),o=ne.ToLength(r.length);t=ne.ToInteger("undefined"==typeof t?0:t),n=ne.ToInteger("undefined"==typeof n?o:n);for(var i=t<0?R(o+t,0):j(t,o),a=n<0?o+n:n,s=i;s1?arguments[1]:null,a=0;a1?arguments[1]:null,i=0;i1&&"undefined"!=typeof arguments[1]?ne.Call($e,this,arguments):n($e,this,e)})}var Ze=-(Math.pow(2,32)-1),Qe=function(e,t){var r={length:Ze};return r[t?(r.length>>>0)-1:0]=!0,u(function(){return n(e,r,function(){throw new RangeError("should not reach here")},[]),!0})};if(!Qe(Array.prototype.forEach)){var Je=Array.prototype.forEach;Z(Array.prototype,"forEach",function(e){return ne.Call(Je,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.map)){var et=Array.prototype.map;Z(Array.prototype,"map",function(e){return ne.Call(et,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.filter)){var tt=Array.prototype.filter;Z(Array.prototype,"filter",function(e){return ne.Call(tt,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.some)){var nt=Array.prototype.some;Z(Array.prototype,"some",function(e){return ne.Call(nt,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.every)){var rt=Array.prototype.every;Z(Array.prototype,"every",function(e){return ne.Call(rt,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.reduce)){var ot=Array.prototype.reduce;Z(Array.prototype,"reduce",function(e){return ne.Call(ot,this.length>=0?this:[],arguments)},!0)}if(!Qe(Array.prototype.reduceRight,!0)){var it=Array.prototype.reduceRight;Z(Array.prototype,"reduceRight",function(e){return ne.Call(it,this.length>=0?this:[],arguments)},!0)}var at=8!==Number("0o10"),st=2!==Number("0b10"),lt=g(Fe,function(e){return 0===Number(e+0+e)});if(at||st||lt){var ut=Number,ct=/^0b[01]+$/i,pt=/^0o[0-7]+$/i,dt=ct.test.bind(ct),ft=pt.test.bind(pt),ht=function(e){var t;if("function"==typeof e.valueOf&&(t=e.valueOf(),$.primitive(t)))return t;if("function"==typeof e.toString&&(t=e.toString(),$.primitive(t)))return t;throw new TypeError("No default value")},mt=Ve.test.bind(Ve),vt=He.test.bind(He),gt=function(){var e=function(t){var n;n=arguments.length>0?$.primitive(t)?t:ht(t,"number"):0,"string"==typeof n&&(n=ne.Call(Le,n),dt(n)?n=parseInt(I(n,2),2):ft(n)?n=parseInt(I(n,2),8):(mt(n)||vt(n))&&(n=NaN));var r=this,o=u(function(){return ut.prototype.valueOf.call(r),!0});return r instanceof e&&!o?new ut(n):ut(n)};return e}();ye(ut,gt,{}),b(gt,{NaN:ut.NaN,MAX_VALUE:ut.MAX_VALUE,MIN_VALUE:ut.MIN_VALUE,NEGATIVE_INFINITY:ut.NEGATIVE_INFINITY,POSITIVE_INFINITY:ut.POSITIVE_INFINITY}),Number=gt,E.redefine(S,"Number",gt)}var yt=Math.pow(2,53)-1;b(Number,{MAX_SAFE_INTEGER:yt,MIN_SAFE_INTEGER:-yt,EPSILON:2.220446049250313e-16,parseInt:S.parseInt,parseFloat:S.parseFloat,isFinite:q,isInteger:function(e){return q(e)&&ne.ToInteger(e)===e},isSafeInteger:function(e){return Number.isInteger(e)&&F(e)<=Number.MAX_SAFE_INTEGER},isNaN:W}),y(Number,"parseInt",S.parseInt,Number.parseInt!==S.parseInt),[,1].find(function(e,t){return 0===t})||Z(Array.prototype,"find",We.find),0!==[,1].findIndex(function(e,t){return 0===t})&&Z(Array.prototype,"findIndex",We.findIndex);var bt=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable),wt=function(e,t){d&&bt(e,t)&&Object.defineProperty(e,t,{enumerable:!1})},xt=function(){for(var e=Number(this),t=arguments.length,n=t-e,r=new Array(n<0?0:n),o=e;o1?NaN:t===-1?-(1/0):1===t?1/0:0===t?t:.5*V((1+t)/(1-t))},cbrt:function(e){var t=Number(e);if(0===t)return t;var n,r=t<0;return r&&(t=-t),t===1/0?n=1/0:(n=Math.exp(V(t)/3),n=(t/(n*n)+2*n)/3),r?-n:n},clz32:function(e){var t=Number(e),n=ne.ToUint32(t);return 0===n?32:vn?ne.Call(vn,n):31-L(V(n+.5)*Math.LOG2E)},cosh:function(e){var t=Number(e);return 0===t?1:Number.isNaN(t)?NaN:C(t)?(t<0&&(t=-t),t>21?Math.exp(t)/2:(Math.exp(t)+Math.exp(-t))/2):1/0},expm1:function(e){var t=Number(e);if(t===-(1/0))return-1;if(!C(t)||0===t)return t;if(F(t)>.5)return Math.exp(t)-1;for(var n=t,r=0,o=1;r+n!==r;)r+=n,o+=1,n*=t/o;return r},hypot:function(e,t){for(var n=0,r=0,o=0;o0?i/r*(i/r):i}return r===1/0?1/0:r*H(n)},log2:function(e){return V(e)*Math.LOG2E},log10:function(e){return V(e)*Math.LOG10E},log1p:function(e){var t=Number(e);return t<-1||Number.isNaN(t)?NaN:0===t||t===1/0?t:t===-1?-(1/0):1+t-1===0?t:t*(V(1+t)/(1+t-1))},sign:function(e){var t=Number(e);return 0===t?t:Number.isNaN(t)?t:t<0?-1:1},sinh:function(e){var t=Number(e);return C(t)&&0!==t?F(t)<1?(Math.expm1(t)-Math.expm1(-t))/2:(Math.exp(t-1)-Math.exp(-t-1))*Math.E/2:t},tanh:function(e){var t=Number(e);if(Number.isNaN(t)||0===t)return t;if(t>=20)return 1;if(t<=-20)return-1;var n=Math.expm1(t),r=Math.expm1(-t);return n===1/0?1:r===1/0?-1:(n-r)/(Math.exp(t)+Math.exp(-t))},trunc:function(e){var t=Number(e);return t<0?-L(-t):L(t)},imul:function(e,t){var n=ne.ToUint32(e),r=ne.ToUint32(t),o=n>>>16&65535,i=65535&n,a=r>>>16&65535,s=65535&r;return i*s+(o*s+i*a<<16>>>0)|0},fround:function(e){var t=Number(e);if(0===t||t===1/0||t===-(1/0)||W(t))return t;var n=Math.sign(t),r=F(t);if(rhn||W(i)?n*(1/0):n*i}};b(Math,gn),y(Math,"log1p",gn.log1p,Math.log1p(-1e-17)!==-1e-17),y(Math,"asinh",gn.asinh,Math.asinh(-1e7)!==-Math.asinh(1e7)),y(Math,"tanh",gn.tanh,Math.tanh(-2e-17)!==-2e-17),y(Math,"acosh",gn.acosh,Math.acosh(Number.MAX_VALUE)===1/0),y(Math,"cbrt",gn.cbrt,Math.abs(1-Math.cbrt(1e-300)/1e-100)/Number.EPSILON>8),y(Math,"sinh",gn.sinh,Math.sinh(-2e-17)!==-2e-17);var yn=Math.expm1(10);y(Math,"expm1",gn.expm1,yn>22025.465794806718||yn<22025.465794806718);var bn=Math.round,wn=0===Math.round(.5-Number.EPSILON/4)&&1===Math.round(-.5+Number.EPSILON/3.99),xn=pn+1,En=2*pn-1,_n=[xn,En].every(function(e){return Math.round(e)===e});y(Math,"round",function(e){var t=L(e),n=t===-1?-0:t+1;return e-t<.5?t:n},!wn||!_n),E.preserveToString(Math.round,bn);var On=Math.imul;Math.imul(4294967295,5)!==-5&&(Math.imul=gn.imul,E.preserveToString(Math.imul,On)),2!==Math.imul.length&&Z(Math,"imul",function(e,t){return ne.Call(On,Math,arguments)});var Tn=function(){var e=S.setTimeout;if("function"==typeof e||"object"==typeof e){ne.IsPromise=function(e){return!!ne.TypeIsObject(e)&&"undefined"!=typeof e._promise};var t,r=function(e){if(!ne.IsConstructor(e))throw new TypeError("Bad promise constructor");var t=this,n=function(e,n){if(void 0!==t.resolve||void 0!==t.reject)throw new TypeError("Bad Promise implementation!");t.resolve=e,t.reject=n};if(t.resolve=void 0,t.reject=void 0,t.promise=new e(n),!ne.IsCallable(t.resolve)||!ne.IsCallable(t.reject))throw new TypeError("Bad promise constructor")};"undefined"!=typeof window&&ne.IsCallable(window.postMessage)&&(t=function(){var e=[],t="zero-timeout-message",n=function(n){A(e,n),window.postMessage(t,"*")},r=function(n){if(n.source===window&&n.data===t){if(n.stopPropagation(),0===e.length)return;var r=N(e);r()}};return window.addEventListener("message",r,!0),n});var o,i,s=function(){var e=S.Promise,t=e&&e.resolve&&e.resolve();return t&&function(e){return t.then(e)}},l=ne.IsCallable(S.setImmediate)?S.setImmediate:"object"==typeof a&&a.nextTick?a.nextTick:s()||(ne.IsCallable(t)?t():function(t){e(t,0)}),u=function(e){return e},c=function(e){throw e},p=0,d=1,f=2,h=0,m=1,v=2,g={},y=function(e,t,n){l(function(){w(e,t,n)})},w=function(e,t,n){var r,o;if(t===g)return e(n);try{r=e(n),o=t.resolve}catch(i){r=i,o=t.reject}o(r)},x=function(e,t){var n=e._promise,r=n.reactionLength;if(r>0&&(y(n.fulfillReactionHandler0,n.reactionCapability0,t),n.fulfillReactionHandler0=void 0,n.rejectReactions0=void 0,n.reactionCapability0=void 0,r>1))for(var o=1,i=0;o0&&(y(n.rejectReactionHandler0,n.reactionCapability0,t),n.fulfillReactionHandler0=void 0,n.rejectReactions0=void 0,n.reactionCapability0=void 0,r>1))for(var o=1,i=0;o2&&arguments[2]===g;o=a&&i===C?g:new r(i);var s,l=ne.IsCallable(e)?e:u,b=ne.IsCallable(t)?t:c,w=n._promise;if(w.state===p){if(0===w.reactionLength)w.fulfillReactionHandler0=l,w.rejectReactionHandler0=b,w.reactionCapability0=o;else{var x=3*(w.reactionLength-1);w[x+h]=l,w[x+m]=b,w[x+v]=o}w.reactionLength+=1}else if(w.state===d)s=w.result,y(l,o,s);else{if(w.state!==f)throw new TypeError("unexpected Promise state");s=w.result,y(b,o,s)}return o.promise}}),g=new r(C),i=o.then,C}}();if(S.Promise&&(delete S.Promise.accept,delete S.Promise.defer,delete S.Promise.prototype.chain),"function"==typeof Tn){b(S,{Promise:Tn});var Sn=O(S.Promise,function(e){return e.resolve(42).then(function(){})instanceof e}),Cn=!l(function(){S.Promise.reject(42).then(null,5).then(null,B)}),Pn=l(function(){S.Promise.call(3,B)}),kn=function(e){var t=e.resolve(5);t.constructor={};var n=e.resolve(t);try{n.then(null,B).then(null,B)}catch(r){return!0}return t===n}(S.Promise),Mn=d&&function(){var e=0,t=Object.defineProperty({},"then",{get:function(){e+=1}});return Promise.resolve(t),1===e}(),In=function Ir(e){var t=new Promise(e);e(3,function(){}),this.then=t.then,this.constructor=Ir};In.prototype=Promise.prototype,In.all=Promise.all;var An=u(function(){return!!In.all([1,2])});if(Sn&&Cn&&Pn&&!kn&&Mn&&!An||(Promise=Tn,Z(S,"Promise",Tn)),1!==Promise.all.length){var Dn=Promise.all;Z(Promise,"all",function(e){return ne.Call(Dn,this,arguments)})}if(1!==Promise.race.length){var Nn=Promise.race;Z(Promise,"race",function(e){return ne.Call(Nn,this,arguments)})}if(1!==Promise.resolve.length){var Rn=Promise.resolve;Z(Promise,"resolve",function(e){return ne.Call(Rn,this,arguments)})}if(1!==Promise.reject.length){var jn=Promise.reject;Z(Promise,"reject",function(e){return ne.Call(jn,this,arguments)})}wt(Promise,"all"),wt(Promise,"race"),wt(Promise,"resolve"),wt(Promise,"reject"),we(Promise)}var Ln=function(e){var t=o(m(e,function(e,t){return e[t]=!0,e},{}));return e.join(":")===t.join(":")},Fn=Ln(["z","a","bb"]),Vn=Ln(["z",1,"a","3",2]);if(d){var Hn=function(e){return Fn?"undefined"==typeof e||null===e?"^"+ne.ToString(e):"string"==typeof e?"$"+e:"number"==typeof e?Vn?e:"n"+e:"boolean"==typeof e?"b"+e:null:null},Un=function(){return Object.create?Object.create(null):{}},Bn=function(e,t,o){if(r(o)||$.string(o))h(o,function(e){if(!ne.TypeIsObject(e))throw new TypeError("Iterator value "+e+" is not an entry object");t.set(e[0],e[1])});else if(o instanceof e)n(e.prototype.forEach,o,function(e,n){t.set(n,e)});else{var i,a;if(null!==o&&"undefined"!=typeof o){if(a=t.set,!ne.IsCallable(a))throw new TypeError("bad map");i=ne.GetIterator(o)}if("undefined"!=typeof i)for(;;){var s=ne.IteratorStep(i);if(s===!1)break;var l=s.value;try{if(!ne.TypeIsObject(l))throw new TypeError("Iterator value "+l+" is not an entry object");n(a,t,l[0],l[1])}catch(u){throw ne.IteratorClose(i,!0),u}}}},zn=function(e,t,o){if(r(o)||$.string(o))h(o,function(e){t.add(e)});else if(o instanceof e)n(e.prototype.forEach,o,function(e){t.add(e)});else{var i,a;if(null!==o&&"undefined"!=typeof o){if(a=t.add,!ne.IsCallable(a))throw new TypeError("bad set");i=ne.GetIterator(o)}if("undefined"!=typeof i)for(;;){var s=ne.IteratorStep(i);if(s===!1)break;var l=s.value;try{n(a,t,l)}catch(u){throw ne.IteratorClose(i,!0),u}}}},Gn={Map:function(){var e={},t=function(e,t){this.key=e,this.value=t,this.next=null,this.prev=null};t.prototype.isRemoved=function(){return this.key===e};var r=function(e){return!!e._es6map},o=function(e,t){if(!ne.TypeIsObject(e)||!r(e))throw new TypeError("Method Map.prototype."+t+" called on incompatible receiver "+ne.ToString(e))},i=function(e,t){o(e,"[[MapIterator]]"),this.head=e._head,this.i=this.head,this.kind=t};i.prototype={next:function(){var e,t=this.i,n=this.kind,r=this.head;if("undefined"==typeof this.i)return{value:void 0,done:!0};for(;t.isRemoved()&&t!==r;)t=t.prev;for(;t.next!==r;)if(t=t.next,!t.isRemoved())return e="key"===n?t.key:"value"===n?t.value:[t.key,t.value],this.i=t,{value:e,done:!1};return this.i=void 0,{value:void 0,done:!0}}},xe(i.prototype);var a,s=function l(){if(!(this instanceof l))throw new TypeError('Constructor Map requires "new"');if(this&&this._es6map)throw new TypeError("Bad construction");var e=Oe(this,l,a,{_es6map:!0,_head:null,_storage:Un(),_size:0}),n=new t(null,null);return n.next=n.prev=n,e._head=n,arguments.length>0&&Bn(l,e,arguments[0]),e};return a=s.prototype,E.getter(a,"size",function(){if("undefined"==typeof this._size)throw new TypeError("size method called on incompatible Map");return this._size}),b(a,{get:function(e){o(this,"get");var t=Hn(e);if(null!==t){var n=this._storage[t];return n?n.value:void 0}for(var r=this._head,i=r;(i=i.next)!==r;)if(ne.SameValueZero(i.key,e))return i.value},has:function(e){o(this,"has");var t=Hn(e);if(null!==t)return"undefined"!=typeof this._storage[t];for(var n=this._head,r=n;(r=r.next)!==n;)if(ne.SameValueZero(r.key,e))return!0;return!1},set:function(e,n){o(this,"set");var r,i=this._head,a=i,s=Hn(e);if(null!==s){if("undefined"!=typeof this._storage[s])return this._storage[s].value=n,this;r=this._storage[s]=new t(e,n),a=i.prev}for(;(a=a.next)!==i;)if(ne.SameValueZero(a.key,e))return a.value=n,this;return r=r||new t(e,n),ne.SameValue(-0,e)&&(r.key=0),r.next=this._head,r.prev=this._head.prev,r.prev.next=r,r.next.prev=r,this._size+=1,this},"delete":function(t){o(this,"delete");var n=this._head,r=n,i=Hn(t);if(null!==i){if("undefined"==typeof this._storage[i])return!1;r=this._storage[i].prev,delete this._storage[i]}for(;(r=r.next)!==n;)if(ne.SameValueZero(r.key,t))return r.key=r.value=e,r.prev.next=r.next,r.next.prev=r.prev,this._size-=1,!0;return!1},clear:function(){o(this,"clear"),this._size=0,this._storage=Un();for(var t=this._head,n=t,r=n.next;(n=r)!==t;)n.key=n.value=e,r=n.next,n.next=n.prev=t;t.next=t.prev=t},keys:function(){return o(this,"keys"),new i(this,"key")},values:function(){return o(this,"values"),new i(this,"value")},entries:function(){return o(this,"entries"),new i(this,"key+value")},forEach:function(e){o(this,"forEach");for(var t=arguments.length>1?arguments[1]:null,r=this.entries(),i=r.next();!i.done;i=r.next())t?n(e,t,i.value[1],i.value[0],this):e(i.value[1],i.value[0],this)}}),xe(a,a.entries),s}(),Set:function(){var e,t=function(e){return e._es6set&&"undefined"!=typeof e._storage},r=function(e,n){if(!ne.TypeIsObject(e)||!t(e))throw new TypeError("Set.prototype."+n+" called on incompatible receiver "+ne.ToString(e))},i=function l(){if(!(this instanceof l))throw new TypeError('Constructor Set requires "new"');if(this&&this._es6set)throw new TypeError("Bad construction");var t=Oe(this,l,e,{_es6set:!0,"[[SetData]]":null,_storage:Un()});if(!t._es6set)throw new TypeError("bad set");return arguments.length>0&&zn(l,t,arguments[0]),t};e=i.prototype;var a=function(e){var t=e;if("^null"===t)return null;if("^undefined"!==t){var n=t.charAt(0);return"$"===n?I(t,1):"n"===n?+I(t,1):"b"===n?"btrue"===t:+t}},s=function(e){if(!e["[[SetData]]"]){var t=e["[[SetData]]"]=new Gn.Map;h(o(e._storage),function(e){var n=a(e);t.set(n,n)}),e["[[SetData]]"]=t}e._storage=null};return E.getter(i.prototype,"size",function(){return r(this,"size"),this._storage?o(this._storage).length:(s(this),this["[[SetData]]"].size)}),b(i.prototype,{has:function(e){r(this,"has");var t;return this._storage&&null!==(t=Hn(e))?!!this._storage[t]:(s(this),this["[[SetData]]"].has(e))},add:function(e){r(this,"add");var t;return this._storage&&null!==(t=Hn(e))?(this._storage[t]=!0,this):(s(this),this["[[SetData]]"].set(e,e),this)},"delete":function(e){r(this,"delete");var t;if(this._storage&&null!==(t=Hn(e))){var n=U(this._storage,t);return delete this._storage[t]&&n}return s(this),this["[[SetData]]"]["delete"](e)},clear:function(){r(this,"clear"),this._storage&&(this._storage=Un()),this["[[SetData]]"]&&this["[[SetData]]"].clear()},values:function(){return r(this,"values"),s(this),this["[[SetData]]"].values()},entries:function(){return r(this,"entries"),s(this),this["[[SetData]]"].entries()},forEach:function(e){r(this,"forEach");var t=arguments.length>1?arguments[1]:null,o=this;s(o),this["[[SetData]]"].forEach(function(r,i){t?n(e,t,i,i,o):e(i,i,o)})}}),y(i.prototype,"keys",i.prototype.values,!0),xe(i.prototype,i.prototype.values),i}()};if(S.Map||S.Set){var Wn=u(function(){return 2===new Map([[1,2]]).get(1)});if(!Wn){var qn=S.Map;S.Map=function Ar(){if(!(this instanceof Ar))throw new TypeError('Constructor Map requires "new"');var e=new qn;return arguments.length>0&&Bn(Ar,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,S.Map.prototype),e},S.Map.prototype=_(qn.prototype),y(S.Map.prototype,"constructor",S.Map,!0),E.preserveToString(S.Map,qn)}var Yn=new Map,Kn=function(){var e=new Map([[1,0],[2,0],[3,0],[4,0]]);return e.set(-0,e),e.get(0)===e&&e.get(-0)===e&&e.has(0)&&e.has(-0)}(),Xn=Yn.set(1,2)===Yn;if(!Kn||!Xn){var $n=Map.prototype.set;Z(Map.prototype,"set",function(e,t){return n($n,this,0===e?0:e,t),this})}if(!Kn){var Zn=Map.prototype.get,Qn=Map.prototype.has;b(Map.prototype,{get:function(e){return n(Zn,this,0===e?0:e)},has:function(e){return n(Qn,this,0===e?0:e)}},!0),E.preserveToString(Map.prototype.get,Zn),E.preserveToString(Map.prototype.has,Qn)}var Jn=new Set,er=function(e){return e["delete"](0),e.add(-0),!e.has(0)}(Jn),tr=Jn.add(1)===Jn;if(!er||!tr){var nr=Set.prototype.add;Set.prototype.add=function(e){return n(nr,this,0===e?0:e),this},E.preserveToString(Set.prototype.add,nr)}if(!er){var rr=Set.prototype.has;Set.prototype.has=function(e){return n(rr,this,0===e?0:e)},E.preserveToString(Set.prototype.has,rr);var or=Set.prototype["delete"];Set.prototype["delete"]=function(e){return n(or,this,0===e?0:e)},E.preserveToString(Set.prototype["delete"],or)}var ir=O(S.Map,function(e){var t=new e([]);return t.set(42,42),t instanceof e}),ar=Object.setPrototypeOf&&!ir,sr=function(){try{return!(S.Map()instanceof S.Map)}catch(e){return e instanceof TypeError}}();if(0!==S.Map.length||ar||!sr){var lr=S.Map;S.Map=function Dr(){if(!(this instanceof Dr))throw new TypeError('Constructor Map requires "new"');var e=new lr;return arguments.length>0&&Bn(Dr,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,Dr.prototype),e},S.Map.prototype=lr.prototype,y(S.Map.prototype,"constructor",S.Map,!0),E.preserveToString(S.Map,lr)}var ur=O(S.Set,function(e){var t=new e([]);return t.add(42,42),t instanceof e}),cr=Object.setPrototypeOf&&!ur,pr=function(){try{return!(S.Set()instanceof S.Set)}catch(e){return e instanceof TypeError}}();if(0!==S.Set.length||cr||!pr){var dr=S.Set;S.Set=function Nr(){if(!(this instanceof Nr))throw new TypeError('Constructor Set requires "new"');var e=new dr;return arguments.length>0&&zn(Nr,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,Nr.prototype),e},S.Set.prototype=dr.prototype,y(S.Set.prototype,"constructor",S.Set,!0),E.preserveToString(S.Set,dr)}var fr=!u(function(){return(new Map).keys().next().done});if(("function"!=typeof S.Map.prototype.clear||0!==(new S.Set).size||0!==(new S.Map).size||"function"!=typeof S.Map.prototype.keys||"function"!=typeof S.Set.prototype.keys||"function"!=typeof S.Map.prototype.forEach||"function"!=typeof S.Set.prototype.forEach||c(S.Map)||c(S.Set)||"function"!=typeof(new S.Map).keys().next||fr||!ir)&&b(S,{Map:Gn.Map,Set:Gn.Set},!0),S.Set.prototype.keys!==S.Set.prototype.values&&y(S.Set.prototype,"keys",S.Set.prototype.values,!0),xe(Object.getPrototypeOf((new S.Map).keys())),xe(Object.getPrototypeOf((new S.Set).keys())),f&&"has"!==S.Set.prototype.has.name){var hr=S.Set.prototype.has;Z(S.Set.prototype,"has",function(e){return n(hr,this,e)})}}b(S,Gn),we(S.Map),we(S.Set)}var mr=function(e){if(!ne.TypeIsObject(e))throw new TypeError("target must be an object")},vr={apply:function(){return ne.Call(ne.Call,null,arguments)},construct:function(e,t){if(!ne.IsConstructor(e))throw new TypeError("First argument must be a constructor.");var n=arguments.length>2?arguments[2]:e;if(!ne.IsConstructor(n))throw new TypeError("new.target must be a constructor.");return ne.Construct(e,t,n,"internal")},deleteProperty:function(e,t){if(mr(e),d){var n=Object.getOwnPropertyDescriptor(e,t);if(n&&!n.configurable)return!1}return delete e[t]},has:function(e,t){return mr(e),t in e}};Object.getOwnPropertyNames&&Object.assign(vr,{ownKeys:function(e){mr(e);var t=Object.getOwnPropertyNames(e);return ne.IsCallable(Object.getOwnPropertySymbols)&&D(t,Object.getOwnPropertySymbols(e)),t}});var gr=function(e){return!l(e)};if(Object.preventExtensions&&Object.assign(vr,{isExtensible:function(e){return mr(e),Object.isExtensible(e)},preventExtensions:function(e){return mr(e),gr(function(){Object.preventExtensions(e)})}}),d){var yr=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t);if(!r){var o=Object.getPrototypeOf(e);if(null===o)return;return yr(o,t,n)}return"value"in r?r.value:r.get?ne.Call(r.get,n):void 0},br=function(e,t,r,o){var i=Object.getOwnPropertyDescriptor(e,t);if(!i){var a=Object.getPrototypeOf(e);if(null!==a)return br(a,t,r,o);i={value:void 0,writable:!0,enumerable:!0,configurable:!0}}if("value"in i){if(!i.writable)return!1;if(!ne.TypeIsObject(o))return!1;var s=Object.getOwnPropertyDescriptor(o,t);return s?ee.defineProperty(o,t,{value:r}):ee.defineProperty(o,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}return!!i.set&&(n(i.set,o,r),!0)};Object.assign(vr,{defineProperty:function(e,t,n){return mr(e),gr(function(){Object.defineProperty(e,t,n)})},getOwnPropertyDescriptor:function(e,t){return mr(e),Object.getOwnPropertyDescriptor(e,t)},get:function(e,t){mr(e);var n=arguments.length>2?arguments[2]:e;return yr(e,t,n)},set:function(e,t,n){mr(e);var r=arguments.length>3?arguments[3]:e;return br(e,t,n,r)}})}if(Object.getPrototypeOf){var wr=Object.getPrototypeOf;vr.getPrototypeOf=function(e){return mr(e),wr(e)}}if(Object.setPrototypeOf&&vr.getPrototypeOf){var xr=function(e,t){for(var n=t;n;){if(e===n)return!0;n=vr.getPrototypeOf(n)}return!1};Object.assign(vr,{setPrototypeOf:function(e,t){if(mr(e),null!==t&&!ne.TypeIsObject(t))throw new TypeError("proto must be an object or null");return t===ee.getPrototypeOf(e)||!(ee.isExtensible&&!ee.isExtensible(e))&&!xr(e,t)&&(Object.setPrototypeOf(e,t),!0)}})}var Er=function(e,t){if(ne.IsCallable(S.Reflect[e])){var n=u(function(){return S.Reflect[e](1),S.Reflect[e](NaN),S.Reflect[e](!0),!0});n&&Z(S.Reflect,e,t)}else y(S.Reflect,e,t)};Object.keys(vr).forEach(function(e){Er(e,vr[e])});var _r=S.Reflect.getPrototypeOf;if(f&&_r&&"getPrototypeOf"!==_r.name&&Z(S.Reflect,"getPrototypeOf",function(e){return n(_r,S.Reflect,e)}),S.Reflect.setPrototypeOf&&u(function(){return S.Reflect.setPrototypeOf(1,{}),!0})&&Z(S.Reflect,"setPrototypeOf",vr.setPrototypeOf),S.Reflect.defineProperty&&(u(function(){var e=!S.Reflect.defineProperty(1,"test",{value:1}),t="function"!=typeof Object.preventExtensions||!S.Reflect.defineProperty(Object.preventExtensions({}),"test",{});return e&&t})||Z(S.Reflect,"defineProperty",vr.defineProperty)),S.Reflect.construct&&(u(function(){var e=function(){};return S.Reflect.construct(function(){},[],e)instanceof e})||Z(S.Reflect,"construct",vr.construct)),"Invalid Date"!==String(new Date(NaN))){var Or=Date.prototype.toString,Tr=function(){var e=+this;return e!==e?"Invalid Date":ne.Call(Or,this)};Z(Date.prototype,"toString",Tr)}var Sr={anchor:function(e){return ne.CreateHTML(this,"a","name",e)},big:function(){return ne.CreateHTML(this,"big","","")},blink:function(){return ne.CreateHTML(this,"blink","","")},bold:function(){return ne.CreateHTML(this,"b","","")},fixed:function(){return ne.CreateHTML(this,"tt","","")},fontcolor:function(e){return ne.CreateHTML(this,"font","color",e)},fontsize:function(e){return ne.CreateHTML(this,"font","size",e)},italics:function(){return ne.CreateHTML(this,"i","","")},link:function(e){return ne.CreateHTML(this,"a","href",e)},small:function(){return ne.CreateHTML(this,"small","","")},strike:function(){return ne.CreateHTML(this,"strike","","")},sub:function(){return ne.CreateHTML(this,"sub","","")},sup:function(){return ne.CreateHTML(this,"sup","","")}};h(Object.keys(Sr),function(e){var t=String.prototype[e],r=!1;if(ne.IsCallable(t)){var o=n(t,"",' " '),i=M([],o.match(/"/g)).length;r=o!==o.toLowerCase()||i>2}else r=!0;r&&Z(String.prototype,e,Sr[e])});var Cr=function(){if(!Q)return!1;var e="object"==typeof JSON&&"function"==typeof JSON.stringify?JSON.stringify:null;if(!e)return!1;if("undefined"!=typeof e(z()))return!0;if("[null]"!==e([z()]))return!0;var t={a:z()};return t[z()]=!0,"{}"!==e(t)}(),Pr=u(function(){return!Q||"{}"===JSON.stringify(Object(z()))&&"[{}]"===JSON.stringify([Object(z())])});if(Cr||!Pr){var kr=JSON.stringify;Z(JSON,"stringify",function(e){if("symbol"!=typeof e){var t;arguments.length>1&&(t=arguments[1]);var o=[e];if(r(t))o.push(t);else{var i=ne.IsCallable(t)?t:null,a=function(e,t){var r=i?n(i,this,e,t):t;if("symbol"!=typeof r)return $.symbol(r)?Et({})(r):r};o.push(a)}return arguments.length>2&&o.push(arguments[2]),kr.apply(this,o)}})}return S})}).call(t,function(){return this}(),n(25))},function(e,t,n){var r;/*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. */ -!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}()},function(e,t){"use strict";function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=n(199),i=/^-ms-/;e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(209);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?a(!1):void 0,"number"!=typeof t?a(!1):void 0,0===t||t-1 in e?void 0:a(!1),"function"==typeof e.callee?a(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(n){}for(var r=Array(t),o=0;o":a.innerHTML="<"+e+">",s[e]=!a.firstChild),s[e]?d[e]:null}var o=n(10),i=n(2),a=o.canUseDOM?document.createElement("div"):null,s={},l=[1,'"],u=[1,"","
"],c=[3,"","
"],p=[1,'',""],d={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c},f=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];f.forEach(function(e){d[e]=p,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){"use strict";function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(206),i=/^ms-/;e.exports=r},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(208);e.exports=r},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},function(e,t){!function(){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){this.map={},e instanceof r?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function i(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function a(e){var t=new FileReader;return t.readAsArrayBuffer(e),i(t)}function s(e,t){var n=new FileReader,r=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",o=/charset\=[0-9a-zA-Z\-\_]*;?/,a=e.type.match(o)||r.match(o),s=[e];return a&&s.push(a[0].replace(/^charset\=/,"").replace(/;$/,"")),n.readAsText.apply(n,s),i(n)}function l(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(h.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(h.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!h.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},h.blob?(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(a)},this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return s(this._bodyBlob,this._options);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=o(this);return e?e:Promise.resolve(this._bodyText)},h.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function u(e){var t=e.toUpperCase();return m.indexOf(t)>-1?t:e}function c(e,t){t=t||{};var n=t.body;if(c.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new r(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new r(t.headers)),this.method=u(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n,t)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function d(e){var t=new r,n=e.getAllResponseHeaders().trim().split("\n");return n.forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t}function f(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof r?t.headers:new r(t.headers),this.url=t.url||""}if(self.__disableNativeFetch||!self.fetch){r.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];o||(o=[],this.map[e]=o),o.push(r)},r.prototype["delete"]=function(e){delete this.map[t(e)]},r.prototype.get=function(e){var n=this.map[t(e)];return n?n[0]:null},r.prototype.getAll=function(e){return this.map[t(e)]||[]},r.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},r.prototype.set=function(e,r){this.map[t(e)]=[n(r)]},r.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)};var h={blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self},m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];c.prototype.clone=function(){return new c(this)},l.call(c.prototype),l.call(f.prototype),f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new r(this.headers),url:this.url})},f.error=function(){var e=new f(null,{status:0,statusText:""});return e.type="error",e};var v=[301,302,303,307,308];f.redirect=function(e,t){if(v.indexOf(t)===-1)throw new RangeError("Invalid status code");return new f(null,{status:t,headers:{location:e}})},self.Headers=r,self.Request=c,self.Response=f,self.fetch=function(e,t){return new Promise(function(n,r){function o(){return"responseURL"in s?s.responseURL:/^X-Request-URL:/m.test(s.getAllResponseHeaders())?s.getResponseHeader("X-Request-URL"):void 0}function i(){if(4===s.readyState){var e=1223===s.status?204:s.status;if(e<100||e>599){if(l)return;return l=!0,void r(new TypeError("Network request failed"))}var t={status:e,statusText:s.statusText,headers:d(s),url:o()},i="response"in s?s.response:s.responseText;l||(l=!0,n(new f(i,t)))}}var a;a=c.prototype.isPrototypeOf(e)&&!t?e:new c(e,t);var s=new XMLHttpRequest,l=!1;s.onreadystatechange=i,s.onload=i,s.onerror=function(){l||(l=!0,r(new TypeError("Network request failed")))},s.open(a.method,a.url,!0);try{"include"===a.credentials&&("withCredentials"in s?s.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(u){console&&console.warn&&console.warn("set withCredentials error:"+u)}"responseType"in s&&h.blob&&(s.responseType="blob"),a.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),s.send("undefined"==typeof a._bodyInit?null:a._bodyInit)})},self.fetch.polyfill=!0,"undefined"!=typeof e&&e.exports&&(e.exports=fetch)}}()},function(e,t){(function(t){var n;n="undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(t,function(){return this}())},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,i){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s=t||n<0||S&&r>=w}function f(){var e=i();return d(e)?h(e):void(E=setTimeout(f,p(e)))}function h(e){return E=void 0,C&&y?r(e):(y=b=void 0,x)}function m(){void 0!==E&&clearTimeout(E),T=0,y=_=b=E=void 0}function v(){return void 0===E?x:h(i())}function g(){var e=i(),n=d(e);if(y=arguments,b=this,_=e,n){if(void 0===E)return c(_);if(S)return clearTimeout(E),E=setTimeout(f,t),r(_)}return void 0===E&&(E=setTimeout(f,t)),x}var y,b,w,x,E,_,T=0,O=!1,S=!1,C=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,o(n)&&(O=!!n.leading,S="maxWait"in n,w=S?l(a(n.maxWait)||0,t):w,C="trailing"in n?!!n.trailing:C),g.cancel=m,g.flush=v,g}var o=n(104),i=n(223),a=n(224),s="Expected a function",l=Math.max,u=Math.min;e.exports=r},[396,102,105],function(e,t,n){var r=n(103),o=function(){return r.Date.now()};e.exports=o},function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=u.test(e);return n||c.test(e)?p(e.slice(2),n?2:8):l.test(e)?a:+e}var o=n(104),i=n(222),a=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,p=parseInt;e.exports=r},function(e,t){var n=null,r=["Webkit","Moz","O","ms"];e.exports=function(e){n||(n=document.createElement("div"));var t=n.style;if(e in t)return e;for(var o=e.charAt(0).toUpperCase()+e.slice(1),i=r.length;i>=0;i--){var a=r[i]+o;if(a in t)return a}return!1}},function(e,t,n){"use strict";function r(){}function o(){}var i=n(227);o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){(function(t){(function(){var n,r,o,i,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,n=function(){var e;return e=r(),1e9*e[0]+e[1]},i=n(),s=1e9*t.uptime(),a=i-s):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(t,n(25))},function(e,t,n){function r(e){var t=+new Date,n=Math.max(0,16-(t-a)),r=setTimeout(e,n);return a=t,r}var o=n(212),i=o.requestAnimationFrame||o.webkitRequestAnimationFrame||o.mozRequestAnimationFrame||r,a=+new Date,s=o.cancelAnimationFrame||o.webkitCancelAnimationFrame||o.mozCancelAnimationFrame||clearTimeout;Function.prototype.bind&&(i=i.bind(o),s=s.bind(o)),t=e.exports=i,t.cancel=s},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\r\n'},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return d["default"].createElement("div",e)}function a(e){var t=e.style,n=o(e,["style"]),r=c({},t,{right:2,bottom:2,left:2,borderRadius:3});return d["default"].createElement("div",c({style:r},n))}function s(e){var t=e.style,n=o(e,["style"]),r=c({},t,{right:2,bottom:2,top:2,borderRadius:3});return d["default"].createElement("div",c({style:r},n))}function l(e){var t=e.style,n=o(e,["style"]),r=c({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d["default"].createElement("div",c({style:r},n))}function u(e){var t=e.style,n=o(e,["style"]),r=c({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d["default"].createElement("div",c({style:r},n))}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t1?r-1:0),s=1;s0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,o=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,w["default"])()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),o.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,o=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,w["default"])()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),o.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,o=n.onScrollFrame;r&&r(e),this.update(function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,o&&o(e)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var e=this.props.autoHide;e&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var e=this.props.autoHide;e&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect(),o=r.left,i=this.getThumbHorizontalWidth(),a=Math.abs(o-n)-i/2;this.view.scrollLeft=this.getScrollLeftForOffset(a)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect(),o=r.top,i=this.getThumbVerticalHeight(),a=Math.abs(o-n)-i/2;this.view.scrollTop=this.getScrollTopForOffset(a)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,o=t.getBoundingClientRect(),i=o.left;this.prevPageX=r-(n-i)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,o=t.getBoundingClientRect(),i=o.top;this.prevPageY=r-(n-i)}},{key:"setupDragging",value:function(){(0,f["default"])(document.body,C.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=E["default"]}},{key:"teardownDragging",value:function(){(0,f["default"])(document.body,C.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=this.trackHorizontal.getBoundingClientRect(),r=n.left,o=this.getThumbHorizontalWidth(),i=o-this.prevPageX,a=-r+t-i;this.view.scrollLeft=this.getScrollLeftForOffset(a)}if(this.prevPageY){var s=e.clientY,l=this.trackVertical.getBoundingClientRect(),u=l.top,c=this.getThumbVerticalHeight(),p=c-this.prevPageY,d=-u+s-p;this.view.scrollTop=this.getScrollTopForOffset(d)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var e=this.props.autoHide;e&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var e=this.props.autoHide;e&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var e=this.props.autoHide;e&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,f["default"])(this.trackHorizontal,{opacity:1}),(0,f["default"])(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,f["default"])(e.trackHorizontal,{opacity:0}),(0,f["default"])(e.trackVertical,{opacity:0})},t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop},100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&p["default"].cancel(this.requestFrame),this.requestFrame=(0,p["default"])(function(){t.requestFrame=void 0,e()})}},{key:"update",value:function(e){var t=this;this.raf(function(){return t._update(e)})}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,o=this.getValues();if((0,w["default"])()){var i=o.scrollLeft,a=o.clientWidth,s=o.scrollWidth,l=(0,T["default"])(this.trackHorizontal),u=this.getThumbHorizontalWidth(),c=i/(s-a)*(l-u),p={width:u,transform:"translateX("+c+"px)"},d=o.scrollTop,h=o.clientHeight,m=o.scrollHeight,v=(0,S["default"])(this.trackVertical),g=this.getThumbVerticalHeight(),y=d/(m-h)*(v-g),b={height:g,transform:"translateY("+y+"px)"};if(r){var x={visibility:s>a?"visible":"hidden"},E={visibility:m>h?"visible":"hidden"};(0,f["default"])(this.trackHorizontal,x),(0,f["default"])(this.trackVertical,E)}(0,f["default"])(this.thumbHorizontal,p),(0,f["default"])(this.thumbVertical,b)}n&&n(o),"function"==typeof e&&e(o)}},{key:"render",value:function(){var e=this,t=(0,w["default"])(),n=this.props,r=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),i=n.renderTrackHorizontal,a=n.renderTrackVertical,s=n.renderThumbHorizontal,u=n.renderThumbVertical,c=n.tagName,p=(n.hideTracksWhenNotNeeded,n.autoHide),d=(n.autoHideTimeout,n.autoHideDuration),f=(n.thumbSize,n.thumbMinSize,n.universal),m=n.autoHeight,v=n.autoHeightMin,g=n.autoHeightMax,b=n.style,x=n.children,E=o(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),_=this.state.didMountUniversal,T=l({},C.containerStyleDefault,m&&l({},C.containerStyleAutoHeight,{minHeight:v,maxHeight:g}),b),O=l({},C.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},m&&l({},C.viewStyleAutoHeight,{minHeight:(0,y["default"])(v)?"calc("+v+" + "+t+"px)":v+t,maxHeight:(0,y["default"])(g)?"calc("+g+" + "+t+"px)":g+t}),m&&f&&!_&&{minHeight:v,maxHeight:g},f&&!_&&C.viewStyleUniversalInitial),S={transition:"opacity "+d+"ms",opacity:0},P=l({},C.trackHorizontalStyleDefault,p&&S,(!t||f&&!_)&&{display:"none"}),k=l({},C.trackVerticalStyleDefault,p&&S,(!t||f&&!_)&&{display:"none"});return(0,h.createElement)(c,l({},E,{style:T,ref:function(t){e.container=t}}),[(0,h.cloneElement)(r({style:O}),{key:"view",ref:function(t){e.view=t}},x),(0,h.cloneElement)(i({style:P}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,h.cloneElement)(s({style:C.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,h.cloneElement)(a({style:k}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,h.cloneElement)(u({style:C.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(h.Component);t["default"]=k,k.propTypes={onScroll:v["default"].func,onScrollFrame:v["default"].func, -onScrollStart:v["default"].func,onScrollStop:v["default"].func,onUpdate:v["default"].func,renderView:v["default"].func,renderTrackHorizontal:v["default"].func,renderTrackVertical:v["default"].func,renderThumbHorizontal:v["default"].func,renderThumbVertical:v["default"].func,tagName:v["default"].string,thumbSize:v["default"].number,thumbMinSize:v["default"].number,hideTracksWhenNotNeeded:v["default"].bool,autoHide:v["default"].bool,autoHideTimeout:v["default"].number,autoHideDuration:v["default"].number,autoHeight:v["default"].bool,autoHeightMin:v["default"].oneOfType([v["default"].number,v["default"].string]),autoHeightMax:v["default"].oneOfType([v["default"].number,v["default"].string]),universal:v["default"].bool,style:v["default"].object,children:v["default"].node},k.defaultProps={renderView:P.renderViewDefault,renderTrackHorizontal:P.renderTrackHorizontalDefault,renderTrackVertical:P.renderTrackVerticalDefault,renderThumbHorizontal:P.renderThumbHorizontalDefault,renderThumbVertical:P.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},function(e,t){"use strict";function n(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,o=n.paddingBottom;return t-parseFloat(r)-parseFloat(o)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t){"use strict";function n(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,o=n.paddingRight;return t-parseFloat(r)-parseFloat(o)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){if(s!==!1)return s;if("undefined"!=typeof document){var e=document.createElement("div");(0,a["default"])(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),s=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else s=0;return s||0}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=n(96),a=r(i),s=!1},function(e,t){"use strict";function n(e){return"string"==typeof e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t){"use strict";function n(){return!1}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t,n){!function(t,r){e.exports=r(n(1))}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t0||(this.setState({isDragActive:!1,isDragReject:!1}),this.props.onDragLeave&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function(e){e.preventDefault(),this.enterCounter=0,this.setState({isDragActive:!1,isDragReject:!1});for(var t=e.dataTransfer?e.dataTransfer.files:e.target.files,n=this.props.multiple?t.length:Math.min(t.length,1),r=[],o=0;o=t.props.minSize})}},{key:"open",value:function(){this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var e=this,t=this.props,n=t.accept,r=t.activeClassName,i=t.inputProps,a=t.multiple,s=t.name,u=t.rejectClassName,c=o(t,["accept","activeClassName","inputProps","multiple","name","rejectClassName"]),p=c.activeStyle,d=c.className,m=c.rejectStyle,v=c.style,g=o(c,["activeStyle","className","rejectStyle","style"]),y=this.state,b=y.isDragActive,w=y.isDragReject;d=d||"",b&&r&&(d+=" "+r),w&&u&&(d+=" "+u),d||v||p||m||(v={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},p={borderStyle:"solid",backgroundColor:"#eee"},m={borderStyle:"solid",backgroundColor:"#ffdddd"});var x=void 0;x=p&&b?l({},v,p):m&&w?l({},v,m):l({},v);var E={accept:n,type:"file",style:{display:"none"},multiple:h&&a,ref:function(t){return e.fileInputEl=t},onChange:this.onDrop};s&&s.length&&(E.name=s);var _=["disablePreview","disableClick","onDropAccepted","onDropRejected","maxSize","minSize"],T=l({},g);return _.forEach(function(e){return delete T[e]}),f["default"].createElement("div",l({className:d,style:x},T,{onClick:this.onClick,onDragStart:this.onDragStart,onDragEnter:this.onDragEnter,onDragOver:this.onDragOver,onDragLeave:this.onDragLeave,onDrop:this.onDrop}),this.props.children,f["default"].createElement("input",l({},i,E)))}}]),t}(f["default"].Component);m.defaultProps={disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0},m.propTypes={onDrop:f["default"].PropTypes.func,onDropAccepted:f["default"].PropTypes.func,onDropRejected:f["default"].PropTypes.func,onDragStart:f["default"].PropTypes.func,onDragEnter:f["default"].PropTypes.func,onDragLeave:f["default"].PropTypes.func,children:f["default"].PropTypes.node,style:f["default"].PropTypes.object,activeStyle:f["default"].PropTypes.object,rejectStyle:f["default"].PropTypes.object,className:f["default"].PropTypes.string,activeClassName:f["default"].PropTypes.string,rejectClassName:f["default"].PropTypes.string,disablePreview:f["default"].PropTypes.bool,disableClick:f["default"].PropTypes.bool,inputProps:f["default"].PropTypes.object,multiple:f["default"].PropTypes.bool,accept:f["default"].PropTypes.string,name:f["default"].PropTypes.string,maxSize:f["default"].PropTypes.number,minSize:f["default"].PropTypes.number},t["default"]=m,e.exports=t["default"]},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";t.__esModule=!0,n(8),n(9),t["default"]=function(e,t){if(e&&t){var n=function(){var n=t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return{v:n.some(function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t})}}();if("object"==typeof n)return n.v}return!0},e.exports=t["default"]},function(e,t){var n=e.exports={version:"1.2.2"};"number"==typeof __e&&(__e=n)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(2),o=n(1),i=n(4),a=n(19),s="prototype",l=function(e,t){return function(){return e.apply(t,arguments)}},u=function(e,t,n){var c,p,d,f,h=e&u.G,m=e&u.P,v=h?r:e&u.S?r[t]||(r[t]={}):(r[t]||{})[s],g=h?o:o[t]||(o[t]={});h&&(n=t);for(c in n)p=!(e&u.F)&&v&&c in v,d=(p?v:n)[c],f=e&u.B&&p?l(d,r):m&&"function"==typeof d?l(Function.call,d):d,v&&!p&&a(v,c,d),g[c]!=d&&i(g,c,f),m&&((g[s]||(g[s]={}))[c]=d)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,e.exports=u},function(e,t,n){var r=n(5),o=n(18);e.exports=n(22)?function(e,t,n){return r.setDesc(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(20)("wks"),o=n(2).Symbol;e.exports=function(e){return r[e]||(r[e]=o&&o[e]||(o||n(6))("Symbol."+e))}},function(e,t,n){n(26),e.exports=n(1).Array.some},function(e,t,n){n(25),e.exports=n(1).String.endsWith},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n(7)("match")]=!1,!"/./"[e](t)}catch(o){}}return!0}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(16),o=n(11),i=n(7)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(2),o=n(4),i=n(6)("src"),a="toString",s=Function[a],l=(""+s).split(a);n(1).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,a){"function"==typeof n&&(o(n,i,e[t]?""+e[t]:l.join(String(t))),"name"in n||(n.name=t)),e===r?e[t]=n:(a||delete e[t],o(e,t,n))})(Function.prototype,a,function(){return"function"==typeof this&&this[i]||s.call(this)})},function(e,t,n){var r=n(2),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t,n){var r=n(17),o=n(13);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(23),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(3),o=n(24),i=n(21),a="endsWith",s=""[a];r(r.P+r.F*n(14)(a),"String",{endsWith:function(e){var t=i(this,e,a),n=arguments,r=n.length>1?n[1]:void 0,l=o(t.length),u=void 0===r?l:Math.min(o(r),l),c=String(e);return s?s.call(t,c,u):t.slice(u-c.length,u)===c}})},function(e,t,n){var r=n(5),o=n(3),i=n(1).Array||Array,a={},s=function(e,t){r.each.call(e.split(","),function(e){void 0==t&&e in i?a[e]=i[e]:e in[]&&(a[e]=n(12)(Function.call,[][e],t))})};s("pop,reverse,shift,keys,values,entries",1),s("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),s("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",a)}])},function(t,n){t.exports=e}])})},function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e={SET_MAX_SCROLL_TOP:"SET_MAX_SCROLL_TOP"};t["default"]=e}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(38),o=e(r),i={loadInitialParameters:function(e){return{type:o["default"].MODULE_PARAMETERS_LOADED,data:e}}};t["default"]=i}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(108),o=e(r),i={close:function(){return{type:o["default"].CLOSE_MESSAGE_MODAL}}};t["default"]=i}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(109),o=e(r),i={changeSearchField:function(e){return{type:o["default"].CHANGE_SEARCH_FIELD,data:e}}};t["default"]=i}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n",s=this.getSearchIcon();return l["default"].createElement("div",{className:"dnn-folder-selector"},l["default"].createElement("div",{className:"selected-item",onClick:this.onFoldersClick.bind(this)},a),l["default"].createElement("div",{className:"folder-selector-container"+(this.state.showFolderPicker?" show":"")},l["default"].createElement("div",{className:"inner-box"},l["default"].createElement("div",{className:"search"},l["default"].createElement("input",{type:"text",value:this.state.searchFolderText,onChange:this.onChangeSearchFolderText.bind(this),placeholder:i,"aria-label":"Search"}),this.state.searchFolderText&&l["default"].createElement("div",{onClick:this.clearSearch.bind(this),className:"clear-button"},"×"),s),l["default"].createElement("div",{className:"items"},l["default"].createElement(f.Scrollbars,{className:"scrollArea content-vertical",autoHeight:!0,autoHeightMin:0, -autoHeightMax:200},l["default"].createElement(d["default"],{folders:n,onParentExpands:r,onFolderChange:this.onFolderChange.bind(this)}))))))}}]),t}(s.Component);t["default"]=m,m.propTypes={folders:s.PropTypes.object,onFolderChange:s.PropTypes.func.isRequired,onParentExpands:s.PropTypes.func.isRequired,selectedFolder:s.PropTypes.object,searchFolder:s.PropTypes.func.isRequired,noFolderSelectedValue:s.PropTypes.string.isRequired,searchFolderPlaceHolder:s.PropTypes.string.isRequired}}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;np&&(s||(this.setState({loadingFlag:!0}),a?r(t,a,!0):n(t)))}},{key:"render",value:function(){for(var e=this.props,t=e.items,n=e.itemEditing,r=e.search,o=e.itemContainerDisabled,i=e.loading,a=-1,s=[],l=0;l=t.length&&l===t.length-1;s.push(this.getDetailsPanel(h,l))}return p["default"].createElement("div",{id:"Assets-panel"},p["default"].createElement(m["default"],null),p["default"].createElement("div",{className:"assets-body"},p["default"].createElement(_["default"],null),p["default"].createElement("div",{ref:"mainContainer",className:"main-container"+(i?" loading":"")},p["default"].createElement(b["default"],null),p["default"].createElement(x["default"],null),p["default"].createElement("div",{className:"item-container"+(r?" rm_search":"")+(t.length?"":" empty")+(o?" disabled":"")},s,p["default"].createElement("div",{className:"empty-label rm_search"},p["default"].createElement("span",{className:"empty-title"},k["default"].getString("AssetsPanelNoSearchResults"))),p["default"].createElement("div",{className:"empty-label rm-folder"},p["default"].createElement("span",{className:"empty-title"},k["default"].getString("AssetsPanelEmpty_Title")),p["default"].createElement("span",{className:"empty-subtitle"},k["default"].getString("AssetsPanelEmpty_Subtitle")))))))}}]),t}(p["default"].Component);A.propTypes={folderPanelState:c.PropTypes.object,items:c.PropTypes.array,search:c.PropTypes.string,itemContainerDisabled:c.PropTypes.bool,loading:c.PropTypes.bool,itemEditing:c.PropTypes.object,itemWidth:c.PropTypes.number,loadContent:c.PropTypes.func,searchFiles:c.PropTypes.func},t["default"]=(0,d.connect)(s,a)(A)}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){var t=e.breadcrumbs,n=e.folderPanel;return{breadcrumbs:t.breadcrumbs||[],folderPanelState:n}}function s(e){return l({},(0,d.bindActionCreators)({loadContent:g["default"].loadContent},e))}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t"),i.push(p["default"].createElement(m["default"],{key:a,name:t[s].folderName,onClick:n.bind(this,r,a)}));return o&&(i.push(">"),i.push(p["default"].createElement(m["default"],{key:"search",name:b["default"].getString("Search")+" '"+o+"'"}))),p["default"].createElement("div",{className:"breadcrumbs-container"},i)}}]),t}(p["default"].Component);w.propTypes={breadcrumbs:c.PropTypes.array,loadContent:c.PropTypes.func,folderPanelState:c.PropTypes.object},t["default"]=(0,f.connect)(a,s)(w)}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return l({},(0,d.bindActionCreators)({showAddFolderPanel:g["default"].showPanel,showAddAssetPanel:b["default"].showPanel},e))}function s(e){var t=e.folderPanel;return{hasAddFilesPermission:t.hasAddFilesPermission,hasAddFoldersPermission:t.hasAddFoldersPermission}}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:d,t=arguments[1],n=t.data;switch(t.type){case u["default"].SHOW_ADD_ASSET_PANEL:return s({},e,{expanded:!0});case p["default"].CLOSE_TOP_PANELS:case u["default"].HIDE_ADD_ASSET_PANEL:return s({},e,{expanded:!1});case u["default"].RESET_PANEL:return s({},e,{error:null,progress:{},uploadedFiles:[]});case u["default"].ASSET_ADDED:var o=[].concat(r(e.uploadedFiles),[n]),a=s({},e.progress[n.fileName],{completed:!0,path:n.path,fileIconUrl:n.fileIconUrl});return s({},e,{uploadedFiles:o,progress:i(e.progress,a)});case u["default"].ASSET_ADDED_ERROR:var l=s({},e.progress[n.fileName],{fileName:n.fileName,error:n.message});return s({},e,{progress:i(e.progress,l)});case u["default"].UPDATE_PROGRESS:return s({},e,{progress:i(e.progress,n)});case u["default"].FILE_ALREADY_EXIST:var c=s({},e.progress[n.fileName],{path:n.path,fileIconUrl:n.fileIconUrl,percent:0,alreadyExists:!0});return s({},e,{progress:i(e.progress,c)});case u["default"].STOP_UPLOAD:var f=s({},e.progress[n],{alreadyExists:!1,stopped:!0});return s({},e,{progress:i(e.progress,f)})}return e}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1],n=t.data;switch(t.type){case a["default"].SHOW_ADD_FOLDER_PANEL:return o({},e,{expanded:!0});case a["default"].FOLDER_CREATED:return o({},e,{newFolderId:n.FolderID,expanded:!1});case l["default"].CLOSE_TOP_PANELS:case a["default"].HIDE_ADD_FOLDER_PANEL:var r={name:"",folderType:e.defaultFolderType},i=o({},e,{formData:r,expanded:!1,newFolderId:null});return delete i.validationErrors,i;case a["default"].FOLDER_MAPPINGS_LOADED:var s=n&&n[0]?n[0].FolderMappingID:null,c=o({},e.formData,{folderType:s});return o({},e,{formData:c,folderMappings:n,defaultFolderType:s});case a["default"].CHANGE_NAME:var p=o({},e.formData,{name:n});return o({},e,{formData:p});case a["default"].CHANGE_FOLDER_TYPE:var d=o({},e.formData,{folderType:n});return o({},e,{formData:d});case a["default"].SET_VALIDATION_ERRORS:return o({},e,{validationErrors:n})}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1],n=t.data;switch(t.type){case a["default"].MODULE_PARAMETERS_LOADED:var r=n.openFolderId,i=u.breadcrumbs;return r&&(i=[{folderId:n.homeFolderId}]),o({},e,{breadcrumbs:i});case l["default"].CONTENT_LOADED:for(var s=!1,c=n.folder,p=c.folderId,d=c.folderName,f=c.folderPath,h=c.folderParentId,m={folderId:p,folderName:d||f?d:"Site Root"},v=e.breadcrumbs.slice(),g=0;g0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=t.data;switch(t.type){case a["default"].OPEN_DIALOG_MODAL:return o({},e,n);case a["default"].CLOSE_DIALOG_MODAL:case l["default"].FOLDER_DELETED:case l["default"].DELETE_FOLDER_ERROR:var r=o({},e);return delete r.dialogMessage,delete r.yesFunction,delete r.noFunction,r}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:p,t=arguments[1],n=t.data;switch(t.type){case a["default"].MODULE_PARAMETERS_LOADED:return o({},e,{homeFolderId:n.homeFolderId,currentFolderId:n.openFolderId||n.homeFolderId,numItems:n.numItems,itemWidth:n.itemWidth,sortOptions:n.sortingOptions,sorting:n.sorting});case l["default"].SET_LOADING:return o({},e,{loading:n});case l["default"].FILES_SEARCHED:var r=o({},e,n);return delete r.newItem,o({},r,{loadedItems:n.items.length});case l["default"].CONTENT_LOADED:var i=o({},e,n);delete i.newItem,delete i.search;var s=n.folder,u=n.items,d=n.hasAddPermission,f=s.folderName||s.folderPath?s.folderName:"Root";return o({},i,{currentFolderId:s.folderId,currentFolderName:f,loadedItems:u.length,hasAddPermission:d});case l["default"].MORE_CONTENT_LOADED:var h=e.items.slice();return h=h.concat(n.items),o({},e,{items:h,loadedItems:h.length,hasAddPermission:n.hasAddPermission});case l["default"].CHANGE_SEARCH:return o({},e,{search:n});case c["default"].ITEM_SAVED:var m=n,v=e.items.slice(),g=v.findIndex(function(e){return e.isFolder===m.isFolder&&e.itemId===m.itemId});return v[g]=o({},v[g],{itemName:m.itemName}),o({},e,{items:v});case l["default"].CHANGE_SORTING:return o({},e,{sorting:n})}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1],n=t.data;switch(t.type){case a["default"].SET_MAX_SCROLL_TOP:return o({},e,{maxScrollTop:n});case l["default"].CONTENT_LOADED:case l["default"].FILES_SEARCHED:return o({},e,{maxScrollTop:0})}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1],n=t.data;switch(t.type){case a["default"].EDIT_ITEM:return o({},e,{itemEditing:n});case a["default"].CHANGE_NAME:var r=o({},e.itemEditing,{fileName:n,folderName:n});return o({},e,{itemEditing:r});case a["default"].CHANGE_TITLE:var i=o({},e.itemEditing,{title:n});return o({},e,{itemEditing:i});case a["default"].CHANGE_DESCRIPTION:var l=o({},e.itemEditing,{description:n});return o({},e,{itemEditing:l});case a["default"].SET_VALIDATION_ERRORS:return o({},e,{validationErrors:n});case a["default"].ITEM_SAVED:case a["default"].CANCEL_EDIT_ITEM:var u=o({},e);return delete u.itemEditing,u}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=t.data;switch(t.type){case a["default"].CLOSE_MESSAGE_MODAL:var r=o({},e);return delete r.infoMessage,delete r.errorMessage,r;case c["default"].EDIT_ITEM_ERROR:case c["default"].SAVE_ITEM_ERROR:case l["default"].DELETE_FILE_ERROR:case l["default"].DELETE_FOLDER_ERROR:case l["default"].LOAD_CONTENT_ERROR:case d["default"].ADD_FOLDER_ERROR:return o({},e,{infoMessage:n});case c["default"].ITEM_SAVED:return o({},e,{infoMessage:h["default"].getString("ItemSavedMessage")});case l["default"].URL_COPIED_TO_CLIPBOARD:return o({},e,{infoMessage:h["default"].getString("UrlCopiedMessage")})}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1],n=t.data;switch(t.type){case a["default"].MODULE_PARAMETERS_LOADED:return o({},e,n)}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=t.data;switch(t.type){case a["default"].CHANGE_SEARCH_FIELD:return o({},e,{search:n});case l["default"].CONTENT_LOADED:return o({},e,{search:void 0})}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&(M-=1,0===M&&w.show(t)),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(v.returnFocus(),v.teardownScopedFocus()):v.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),S["default"].deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(v.setupScopedFocus(n.node),v.markForFocusLater()),n.setState({isOpen:!0},function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus()},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){e.keyCode===P&&(0,y["default"])(n.content,e),n.props.shouldCloseOnEsc&&e.keyCode===k&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===("undefined"==typeof t?"undefined":u(t))?t:{base:C[e],afterOpen:C[e]+"--after-open",beforeClose:C[e]+"--before-close"},o=r.base;return n.state.afterOpen&&(o=o+" "+r.afterOpen),n.state.beforeClose&&(o=o+" "+r.beforeClose),"string"==typeof t&&t?o+" "+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return s(t,e),c(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&E.add(document.body,o),r&&E.add(document.getElementsByTagName("html")[0],r),n&&(M+=1,w.hide(t)),S["default"].register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.overlayClassName,o=e.defaultStyles,i=n?{}:o.content,a=r?{}:o.overlay;return this.shouldBeClosed()?null:d["default"].createElement("div",{ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:l({},a,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},d["default"].createElement("div",l({id:t,ref:this.setContentRef,style:l({},i,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",this.props.aria||{}),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),this.props.children))}}]),t}(p.Component);I.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},I.propTypes={isOpen:h["default"].bool.isRequired,defaultStyles:h["default"].shape({content:h["default"].object,overlay:h["default"].object}),style:h["default"].shape({content:h["default"].object,overlay:h["default"].object}),className:h["default"].oneOfType([h["default"].string,h["default"].object]),overlayClassName:h["default"].oneOfType([h["default"].string,h["default"].object]),bodyOpenClassName:h["default"].string,htmlOpenClassName:h["default"].string,ariaHideApp:h["default"].bool,appElement:h["default"].instanceOf(T["default"]),onAfterOpen:h["default"].func,onAfterClose:h["default"].func,onRequestClose:h["default"].func,closeTimeoutMS:h["default"].number,shouldFocusAfterRender:h["default"].bool,shouldCloseOnOverlayClick:h["default"].bool,shouldReturnFocusAfterClose:h["default"].bool,role:h["default"].string,contentLabel:h["default"].string,aria:h["default"].object,data:h["default"].object,children:h["default"].node,shouldCloseOnEsc:h["default"].bool,overlayRef:h["default"].func,contentRef:h["default"].func,id:h["default"].string,testId:h["default"].string},t["default"]=I,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){0!==c.length&&c[c.length-1].focusContent()}function i(e,t){l&&u||(l=document.createElement("div"),l.setAttribute("data-react-modal-body-trap",""),l.style.position="absolute",l.style.opacity="0",l.setAttribute("tabindex","0"),l.addEventListener("focus",o),u=l.cloneNode(),u.addEventListener("focus",o)),c=t,c.length>0?(document.body.firstChild!==l&&document.body.insertBefore(l,document.body.firstChild),document.body.lastChild!==u&&document.body.appendChild(u)):(l.parentElement&&l.parentElement.removeChild(l),u.parentElement&&u.parentElement.removeChild(u))}var a=n(115),s=r(a),l=void 0,u=void 0,c=[];s["default"].subscribe(i)},function(e,t,n){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.dumpClassLists=r;var o={},i={},a=function(e,t){return e[t]||(e[t]=0),e[t]+=1,t},s=function(e,t){return e[t]&&(e[t]-=1),t},l=function(e,t,n){n.forEach(function(n){a(t,n),e.add(n)})},u=function(e,t,n){n.forEach(function(n){s(t,n),0===t[n]&&e.remove(n)})};t.add=function(e,t){return l(e.classList,"html"==e.nodeName.toLowerCase()?o:i,t.split(" "))},t.remove=function(e,t){return u(e.classList,"html"==e.nodeName.toLowerCase()?o:i,t.split(" "))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){m=!0}function i(){if(m){if(m=!1,!h)return;setTimeout(function(){if(!h.contains(document.activeElement)){var e=(0,d["default"])(h)[0]||h;e.focus()}},0)}}function a(){f.push(document.activeElement)}function s(){var e=null;try{return void(0!==f.length&&(e=f.pop(),e.focus()))}catch(t){console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}}function l(){f.length>0&&f.pop()}function u(e){h=e,window.addEventListener?(window.addEventListener("blur",o,!1),document.addEventListener("focus",i,!0)):(window.attachEvent("onBlur",o),document.attachEvent("onFocus",i))}function c(){h=null,window.addEventListener?(window.removeEventListener("blur",o),document.removeEventListener("focus",i)):(window.detachEvent("onBlur",o),document.detachEvent("onFocus",i))}Object.defineProperty(t,"__esModule",{value:!0}),t.handleBlur=o,t.handleFocus=i,t.markForFocusLater=a,t.returnFocus=s,t.popWithoutFocus=l,t.setupScopedFocus=u,t.teardownScopedFocus=c;var p=n(116),d=r(p),f=[],h=null,m=!1},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n=(0,a["default"])(e);if(!n.length)return void t.preventDefault();var r=void 0,o=t.shiftKey,i=n[0],s=n[n.length-1];if(e===document.activeElement){if(!o)return;r=s}if(s!==document.activeElement||o||(r=i),i===document.activeElement&&o&&(r=s),r)return t.preventDefault(),void r.focus();var l=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),u=null!=l&&"Chrome"!=l[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent);if(u){var c=n.indexOf(document.activeElement);if(c>-1&&(c+=o?-1:1),r=n[c],"undefined"==typeof r)return t.preventDefault(),r=o?s:i,void r.focus();t.preventDefault(),r.focus()}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=n(116),a=r(i);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(284),i=r(o);t["default"]=i["default"],e.exports=t["default"]},function(e,t,n){"use strict";var r=!1,o=function(){};if(r){var i=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r2?r-2:0);for(var o=2;o10*_&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();var i=(e.accumulatedTime-Math.floor(e.accumulatedTime/_)*_)/_,a=Math.floor(e.accumulatedTime/_),s={},l={},u={},p={};for(var f in n)if(Object.prototype.hasOwnProperty.call(n,f)){var h=n[f];if("number"==typeof h)u[f]=h,p[f]=0,s[f]=h,l[f]=0;else{for(var m=e.state.lastIdealStyle[f],g=e.state.lastIdealVelocity[f],y=0;y10*T&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();for(var a=(e.accumulatedTime-Math.floor(e.accumulatedTime/T)*T)/T,s=Math.floor(e.accumulatedTime/T),l=[],u=[],c=[],d=[],h=0;h10*P&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();for(var u=(e.accumulatedTime-Math.floor(e.accumulatedTime/P)*P)/P,c=Math.floor(e.accumulatedTime/P),p=a(e.props.willEnter,e.props.willLeave,e.props.didLeave,e.state.mergedPropsStyles,r,e.state.currentStyles,e.state.currentVelocities,e.state.lastIdealStyles,e.state.lastIdealVelocities),d=p[0],h=p[1],m=p[2],v=p[3],y=p[4],b=0;br[c])return-1;if(o>i[c]&&lr[c])return 1;if(a>i[c]&&s, "+('or explicitly pass "store" as a prop to "'+n+'".'));var l=a.store.getState();return a.state={storeState:l},a.clearCache(),a}return a(s,r),s.prototype.shouldComponentUpdate=function(){return!b||this.haveOwnPropsChanged||this.hasStoreStateChanged},s.prototype.computeStateProps=function(e,t){if(!this.finalMapStateToProps)return this.configureFinalMapState(e,t);var n=e.getState(),r=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(n,t):this.finalMapStateToProps(n);return r},s.prototype.configureFinalMapState=function(e,t){var n=d(e.getState(),t),r="function"==typeof n;return this.finalMapStateToProps=r?n:d,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,r?this.computeStateProps(e,t):n},s.prototype.computeDispatchProps=function(e,t){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(e,t);var n=e.dispatch,r=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(n,t):this.finalMapDispatchToProps(n);return r},s.prototype.configureFinalMapDispatch=function(e,t){var n=h(e.dispatch,t),r="function"==typeof n;return this.finalMapDispatchToProps=r?n:h,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,r?this.computeDispatchProps(e,t):n},s.prototype.updateStatePropsIfNeeded=function(){var e=this.computeStateProps(this.store,this.props);return!(this.stateProps&&(0,m["default"])(e,this.stateProps)||(this.stateProps=e, -0))},s.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return!(this.dispatchProps&&(0,m["default"])(e,this.dispatchProps)||(this.dispatchProps=e,0))},s.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&k&&(0,m["default"])(e,this.mergedProps)||(this.mergedProps=e,0))},s.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},s.prototype.trySubscribe=function(){u&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},s.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},s.prototype.componentDidMount=function(){this.trySubscribe()},s.prototype.componentWillReceiveProps=function(e){b&&(0,m["default"])(e,this.props)||(this.haveOwnPropsChanged=!0)},s.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},s.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},s.prototype.handleChange=function(){if(this.unsubscribe){var e=this.store.getState(),t=this.state.storeState;if(!b||t!==e){if(b&&!this.doStatePropsDependOnOwnProps){var n=l(this.updateStatePropsIfNeeded,this);if(!n)return;n===C&&(this.statePropsPrecalculationError=C.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:e})}}},s.prototype.getWrappedInstance=function(){return(0,_["default"])(E,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},s.prototype.render=function(){var t=this.haveOwnPropsChanged,n=this.hasStoreStateChanged,r=this.haveStatePropsBeenPrecalculated,o=this.statePropsPrecalculationError,i=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,o)throw o;var a=!0,s=!0;b&&i&&(a=n||t&&this.doStatePropsDependOnOwnProps,s=t&&this.doDispatchPropsDependOnOwnProps);var l=!1,u=!1;r?l=!0:a&&(l=this.updateStatePropsIfNeeded()),s&&(u=this.updateDispatchPropsIfNeeded());var d=!0;return d=!!(l||u||t)&&this.updateMergedPropsIfNeeded(),!d&&i?i:(E?this.renderedElement=(0,p.createElement)(e,c({},this.mergedProps,{ref:"wrappedInstance"})):this.renderedElement=(0,p.createElement)(e,this.mergedProps),this.renderedElement)},s}(p.Component);return r.displayName=n,r.WrappedComponent=e,r.contextTypes={store:f["default"]},r.propTypes={store:f["default"]},(0,x["default"])(r,e)}}var c=Object.assign||function(e){for(var t=1;t8&&_<=11),S=32,C=String.fromCharCode(S),P=f.topLevelTypes,k={beforeInput:{phasedRegistrationNames:{bubbled:b({onBeforeInput:null}),captured:b({onBeforeInputCapture:null})},dependencies:[P.topCompositionEnd,P.topKeyPress,P.topTextInput,P.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:b({onCompositionEnd:null}),captured:b({onCompositionEndCapture:null})},dependencies:[P.topBlur,P.topCompositionEnd,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:b({onCompositionStart:null}),captured:b({onCompositionStartCapture:null})},dependencies:[P.topBlur,P.topCompositionStart,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:b({onCompositionUpdate:null}),captured:b({onCompositionUpdateCapture:null})},dependencies:[P.topBlur,P.topCompositionUpdate,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]}},M=!1,I=null,A={eventTypes:k,extractEvents:function(e,t,n,r){return[u(e,t,n,r),d(e,t,n,r)]}};e.exports=A},function(e,t,n){"use strict";var r=n(121),o=n(10),i=(n(14),n(200),n(362)),a=n(207),s=n(210),l=(n(4),s(function(e){return a(e)})),u=!1,c="cssFloat";if(o.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(d){u=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var f={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=l(r)+":",n+=i(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var a in t)if(t.hasOwnProperty(a)){var s=i(a,t[a],n);if("float"!==a&&"cssFloat"!==a||(a=c),s)o[a]=s;else{var l=u&&r.shorthandPropertyExpansions[a];if(l)for(var p in l)o[p]="";else o[a]=""}}}};e.exports=f},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=T.getPooled(M.change,A,e,O(e));w.accumulateTwoPhaseDispatches(t),_.batchedUpdates(i,t)}function i(e){b.enqueueEvents(e),b.processEventQueue(!1)}function a(e,t){I=e,A=t,I.attachEvent("onchange",o)}function s(){I&&(I.detachEvent("onchange",o),I=null,A=null)}function l(e,t){if(e===k.topChange)return t}function u(e,t,n){e===k.topFocus?(s(),a(t,n)):e===k.topBlur&&s()}function c(e,t){I=e,A=t,N=e.value,D=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(I,"value",L),I.attachEvent?I.attachEvent("onpropertychange",d):I.addEventListener("propertychange",d,!1)}function p(){I&&(delete I.value,I.detachEvent?I.detachEvent("onpropertychange",d):I.removeEventListener("propertychange",d,!1),I=null,A=null,N=null,D=null)}function d(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==N&&(N=t,o(e))}}function f(e,t){if(e===k.topInput)return t}function h(e,t,n){e===k.topFocus?(p(),c(t,n)):e===k.topBlur&&p()}function m(e,t){if((e===k.topSelectionChange||e===k.topKeyUp||e===k.topKeyDown)&&I&&I.value!==N)return N=I.value,A}function v(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function g(e,t){if(e===k.topClick)return t}var y=n(17),b=n(30),w=n(31),x=n(10),E=n(6),_=n(16),T=n(18),O=n(80),S=n(81),C=n(145),P=n(19),k=y.topLevelTypes,M={change:{phasedRegistrationNames:{bubbled:P({onChange:null}),captured:P({onChangeCapture:null})},dependencies:[k.topBlur,k.topChange,k.topClick,k.topFocus,k.topInput,k.topKeyDown,k.topKeyUp,k.topSelectionChange]}},I=null,A=null,N=null,D=null,R=!1;x.canUseDOM&&(R=S("change")&&(!document.documentMode||document.documentMode>8));var j=!1;x.canUseDOM&&(j=S("input")&&(!document.documentMode||document.documentMode>11));var L={get:function(){return D.get.call(this)},set:function(e){N=""+e,D.set.call(this,e)}},F={eventTypes:M,extractEvents:function(e,t,n,o){var i,a,s=t?E.getNodeFromInstance(t):window;if(r(s)?R?i=l:a=u:C(s)?j?i=f:(i=m,a=h):v(s)&&(i=g),i){var c=i(e,t);if(c){var p=T.getPooled(M.change,c,n,o);return p.type="change",w.accumulateTwoPhaseDispatches(p),p}}a&&a(e,s,t)}};e.exports=F},function(e,t,n){"use strict";var r=n(3),o=n(26),i=n(10),a=n(203),s=n(12),l=(n(2),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=a(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=l},function(e,t,n){"use strict";var r=n(19),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];e.exports=o},function(e,t,n){"use strict";var r=n(17),o=n(31),i=n(6),a=n(44),s=n(19),l=r.topLevelTypes,u={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},c={eventTypes:u,extractEvents:function(e,t,n,r){if(e===l.topMouseOver&&(n.relatedTarget||n.fromElement))return null;if(e!==l.topMouseOut&&e!==l.topMouseOver)return null;var s;if(r.window===r)s=r;else{var c=r.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var p,d;if(e===l.topMouseOut){p=t;var f=n.relatedTarget||n.toElement;d=f?i.getClosestInstanceFromNode(f):null}else p=null,d=t;if(p===d)return null;var h=null==p?s:i.getNodeFromInstance(p),m=null==d?s:i.getNodeFromInstance(d),v=a.getPooled(u.mouseLeave,p,n,r);v.type="mouseleave",v.target=h,v.relatedTarget=m;var g=a.getPooled(u.mouseEnter,d,n,r);return g.type="mouseenter",g.target=m,g.relatedTarget=h,o.accumulateEnterLeaveDispatches(v,g,p,d),[v,g]}};e.exports=c},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(5),i=n(22),a=n(143);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(27),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,l=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,u={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,"default":i,defer:i,dir:0,disabled:i,download:l,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,"typeof":0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=u},function(e,t,n){"use strict";var r=n(5),o=n(124),i=n(68),a=n(342),s=n(125),l=n(325),u=n(15),c=n(135),p=n(136),d=n(368),f=(n(4),u.createElement),h=u.createFactory,m=u.cloneElement,v=r,g={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:d},Component:i,PureComponent:a,createElement:f,cloneElement:m,isValidElement:u.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:l,version:p,__spread:v};e.exports=g},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=i(t,!0))}var o=n(28),i=n(144),a=(n(66),n(82)),s=n(83),l=(n(4),{instantiateChildren:function(e,t,n,o){if(null==e)return null;var i={};return s(e,r,i),i},updateChildren:function(e,t,n,r,s,l,u,c,p){if(t||e){var d,f;for(d in t)if(t.hasOwnProperty(d)){f=e&&e[d];var h=f&&f._currentElement,m=t[d];if(null!=f&&a(h,m))o.receiveComponent(f,m,s,c),t[d]=f;else{f&&(r[d]=o.getHostNode(f),o.unmountComponent(f,!1));var v=i(m,!0);t[d]=v;var g=o.mountComponent(v,s,l,u,c,p);n.push(g)}}for(d in e)!e.hasOwnProperty(d)||t&&t.hasOwnProperty(d)||(f=e[d],r[d]=o.getHostNode(f),o.unmountComponent(f,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.unmountComponent(r,t)}}});e.exports=l}).call(t,n(25))},function(e,t,n){"use strict";var r=n(62),o=n(327),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";function r(e){}function o(e,t){}function i(e){return!(!e.prototype||!e.prototype.isReactComponent)}function a(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var s=n(3),l=n(5),u=n(69),c=n(23),p=n(15),d=n(71),f=n(32),h=(n(14),n(134)),m=(n(74),n(28)),v=n(361),g=n(24),y=(n(2),n(53)),b=n(82),w=(n(4),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=f.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var x=1,E={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,l){this._context=l,this._mountOrder=x++,this._hostParent=t,this._hostContainerInfo=n;var u,c=this._currentElement.props,d=this._processContext(l),h=this._currentElement.type,m=e.getUpdateQueue(),v=i(h),y=this._constructComponent(v,c,d,m);v||null!=y&&null!=y.render?a(h)?this._compositeType=w.PureClass:this._compositeType=w.ImpureClass:(u=y,o(h,u),null===y||y===!1||p.isValidElement(y)?void 0:s("105",h.displayName||h.name||"Component"),y=new r(h),this._compositeType=w.StatelessFunctional),y.props=c,y.context=d,y.refs=g,y.updater=m,this._instance=y,f.set(y,this);var b=y.state;void 0===b&&(y.state=b=null),"object"!=typeof b||Array.isArray(b)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var E;return E=y.unstable_handleError?this.performInitialMountWithErrorHandling(u,t,n,e,l):this.performInitialMount(u,t,n,e,l),y.componentDidMount&&e.getReactMountReady().enqueue(y.componentDidMount,y),E},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(e,t,n,r,o)}catch(s){r.rollback(a),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(e,t,n,r,o)}return i},performInitialMount:function(e,t,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===e&&(e=this._renderValidatedComponent());var s=h.getType(e);this._renderedNodeType=s;var l=this._instantiateReactComponent(e,s!==h.EMPTY);this._renderedComponent=l;var u=m.mountComponent(l,r,t,n,this._processChildContext(o),a);return u},getHostNode:function(){return m.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";d.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(m.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,f.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return g;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",o);return l({},e,t)}return e},_checkContextTypes:function(e,t,n){v(e,t,n,this.getName(),null,this._debugID)},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?m.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var i=this._instance;null==i?s("136",this.getName()||"ReactCompositeComponent"):void 0;var a,l=!1;this._context===o?a=i.context:(a=this._processContext(o),l=!0);var u=t.props,c=n.props;t!==n&&(l=!0),l&&i.componentWillReceiveProps&&i.componentWillReceiveProps(c,a);var p=this._processPendingState(c,a),d=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?d=i.shouldComponentUpdate(c,p,a):this._compositeType===w.PureClass&&(d=!y(u,c)||!y(i.state,p))),this._updateBatchNumber=null,d?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,c,p,a,e,o)):(this._currentElement=n,this._context=o,i.props=c,i.state=p,i.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=l({},o?r[0]:n.state),a=o?1:0;a=0||null!=t.is}function h(e){var t=e.type;d(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=n(3),v=n(5),g=n(307),y=n(309),b=n(26),w=n(63),x=n(27),E=n(123),_=n(17),T=n(30),O=n(64),S=n(43),C=n(321),P=n(126),k=n(6),M=n(328),I=n(329),A=n(127),N=n(332),D=(n(14),n(340)),R=n(345),j=(n(12),n(45)),L=(n(2),n(81),n(19)),F=(n(53),n(84),n(4),P),V=T.deleteListener,H=k.getNodeFromInstance,U=S.listenTo,B=O.registrationNameModules,z={string:!0,number:!0},G=L({style:null}),W=L({__html:null}),q={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},Y=11,K={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},X={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},$={listing:!0,pre:!0,textarea:!0},Z=v({menuitem:!0},X),Q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,J={},ee={}.hasOwnProperty,te=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=te++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"button":i=C.getHostProps(this,i,t);break;case"input":M.mountWrapper(this,i,t),i=M.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"option":I.mountWrapper(this,i,t),i=I.getHostProps(this,i);break;case"select":A.mountWrapper(this,i,t),i=A.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"textarea":N.mountWrapper(this,i,t),i=N.getHostProps(this,i),e.getReactMountReady().enqueue(c,this)}o(this,i);var a,p;null!=t?(a=t._namespaceURI,p=t._tag):n._tag&&(a=n._namespaceURI,p=n._tag),(null==a||a===w.svg&&"foreignobject"===p)&&(a=w.html),a===w.html&&("svg"===this._tag?a=w.svg:"math"===this._tag&&(a=w.mathml)),this._namespaceURI=a;var d;if(e.useCreateElement){var f,h=n._ownerDocument;if(a===w.html)if("script"===this._tag){var m=h.createElement("div"),v=this._currentElement.type;m.innerHTML="<"+v+">",f=m.removeChild(m.firstChild)}else f=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else f=h.createElementNS(a,this._currentElement.type);k.precacheNode(this,f),this._flags|=F.hasCachedChildNodes,this._hostParent||E.setAttributeForRoot(f),this._updateDOMProperties(null,i,e);var y=b(f);this._createInitialChildren(e,i,r,y),d=y}else{var x=this._createOpenTagMarkupAndPutListeners(e,i),_=this._createContentMarkup(e,i,r);d=!_&&X[this._tag]?x+"/>":x+">"+_+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(l,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(u,this)}return d},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(B.hasOwnProperty(r))o&&i(this,r,o,e);else{r===G&&(o&&(o=this._previousStyleCopy=v({},t.style)),o=y.createMarkupForStyles(o,this));var a=null;null!=this._tag&&f(this._tag,t)?q.hasOwnProperty(r)||(a=E.createMarkupForCustomAttribute(r,o)):a=E.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+E.createMarkupForRoot()),n+=" "+E.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=z[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=j(i);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return $[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var i=z[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)b.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,e,n),l=0;l"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},function(e,t,n){"use strict";var r=n(15),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),"var":o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=i},function(e,t){"use strict";var n={useCreateElement:!0};e.exports=n},function(e,t,n){"use strict";var r=n(62),o=n(6),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);p.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=c.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode;for(var l=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),d=0;dt.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=u(e,o),l=u(e,i);if(s&&l){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(p),n.extend(l.node,l.offset)):(p.setEnd(l.node,l.offset),n.addRange(p))}}}var l=n(10),u=n(366),c=n(143),p=l.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:p?o:i,setOffsets:p?a:s};e.exports=d},function(e,t,n){"use strict";var r=n(3),o=n(5),i=n(62),a=n(26),s=n(6),l=n(45),u=(n(2),n(84),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(u.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",u=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,p=c.createComment(i),d=c.createComment(u),f=a(c.createDocumentFragment());return a.queueChild(f,a(p)),this._stringText&&a.queueChild(f,a(c.createTextNode(this._stringText))),a.queueChild(f,a(d)),s.precacheNode(this,p),this._closingComment=d,f}var h=l(this._stringText);return e.renderToStaticMarkup?h:""+h+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=u},function(e,t,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=l.executeOnChange(t,e);return c.asap(r,this),n}var i=n(3),a=n(5),s=n(42),l=n(67),u=n(6),c=n(16),p=(n(2),n(4),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},s.getHostProps(e,t),{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=l.getValue(t),r=n;if(null==n){var a=t.defaultValue,s=t.children;null!=s&&(null!=a?i("92"):void 0,Array.isArray(s)&&(s.length<=1?void 0:i("93"),s=s[0]),a=""+s),null==a&&(a=""),r=a}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=u.getNodeFromInstance(e),r=l.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=u.getNodeFromInstance(e);t.value=t.textContent}});e.exports=p},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:l("33"),"_hostNode"in t?void 0:l("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:l("35"),"_hostNode"in t?void 0:l("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:l("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],!1,n);for(o=0;o0;)n(l[u],!1,i)}var l=n(3);n(2),e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(5),i=n(16),a=n(34),s=n(12),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},u={initialize:s,close:i.flushBatchedUpdates.bind(i)},c=[u,l];o(r.prototype,a.Mixin,{getTransactionWrappers:function(){return c}});var p=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=d.isBatchingUpdates;d.isBatchingUpdates=!0,a?e(t,n,r,o,i):p.perform(e,null,t,n,r,o,i)}};e.exports=d},function(e,t,n){"use strict";function r(){E||(E=!0,g.EventEmitter.injectReactEventListener(v),g.EventPluginHub.injectEventPluginOrder(a),g.EventPluginUtils.injectComponentTree(p),g.EventPluginUtils.injectTreeTraversal(f),g.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:x,EnterLeaveEventPlugin:s,ChangeEventPlugin:i,SelectEventPlugin:w,BeforeInputEventPlugin:o}),g.HostComponent.injectGenericComponentClass(c),g.HostComponent.injectTextComponentClass(h),g.DOMProperty.injectDOMPropertyConfig(l),g.DOMProperty.injectDOMPropertyConfig(b),g.EmptyComponent.injectEmptyComponentFactory(function(e){return new d(e)}),g.Updates.injectReconcileTransaction(y),g.Updates.injectBatchingStrategy(m),g.Component.injectEnvironment(u))}var o=n(308),i=n(310),a=n(312),s=n(313),l=n(315),u=n(318),c=n(322),p=n(6),d=n(324),f=n(333),h=n(331),m=n(334),v=n(337),g=n(338),y=n(343),b=n(347),w=n(348),x=n(349),E=!1;e.exports={inject:r}},function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(30),i={handleTopLevel:function(e,t,n,i){var a=o.extractEvents(e,t,n,i);r(a)}};e.exports=i},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=p.getNodeFromInstance(e),n=t.parentNode;return p.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=f(e.nativeEvent),n=p.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;i/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n){return{type:d.INSERT_MARKUP,content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:d.MOVE_EXISTING,content:null,fromIndex:e._mountIndex,fromNode:f.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:d.REMOVE_NODE,content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function a(e){return{type:d.SET_MARKUP,content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:d.TEXT_CONTENT,content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function l(e,t){return t&&(e=e||[],e.push(t)),e}function u(e,t){p.processChildrenUpdates(e,t)}var c=n(3),p=n(69),d=(n(32),n(14),n(133)),f=(n(23),n(28)),h=n(317),m=(n(12),n(364)),v=(n(2),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return h.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,i){var a,s=0;return a=m(t,s),h.updateChildren(e,a,n,r,o,this,this._hostContainerInfo,i,s),a},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],l=0,u=f.mountComponent(s,t,this,this._hostContainerInfo,n,l);s._mountIndex=i++,o.push(u)}return o},updateTextContent:function(e){var t=this._renderedChildren;h.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[s(e)];u(this,r)},updateMarkup:function(e){var t=this._renderedChildren;h.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[a(e)];u(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(a||r){var s,c=null,p=0,d=0,h=0,m=null;for(s in a)if(a.hasOwnProperty(s)){var v=r&&r[s],g=a[s];v===g?(c=l(c,this.moveChild(v,m,p,d)),d=Math.max(v._mountIndex,d),v._mountIndex=p):(v&&(d=Math.max(v._mountIndex,d)),c=l(c,this._mountChildAtIndex(g,i[h],m,p,t,n)),h++),p++,m=f.getHostNode(g)}for(s in o)o.hasOwnProperty(s)&&(c=l(c,this._unmountChild(r[s],o[s])));c&&u(this,c),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;h.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex=t)return{node:o,offset:t-i};i=a}o=n(r(o))}}e.exports=o},function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e){if(s[e])return s[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in l)return s[e]=t[n];return""}var i=n(10),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},l={};i.canUseDOM&&(l=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),e.exports=o},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(3),i=n(15);n(2),e.exports=r},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(45);e.exports=r},function(e,t,n){"use strict";var r=n(132);e.exports=r.renderSubtreeIntoContainer},function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}t.__esModule=!0;var r=n();r.withExtraArgument=n,t["default"]=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(o){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(o){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(i){return this.callback(i)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var a=this._header["content-type"],s=this._serializer||y.serialize[a?a.split(";")[0]:""];!s&&l(a)&&(s=y.serialize["application/json"]),s&&(n=s(n))}for(var u in this.header)null!=this.header[u]&&this.header.hasOwnProperty(u)&&t.setRequestHeader(u,this.header[u]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send("undefined"!=typeof n?n:null),this},y.agent=function(){return new g},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach(function(e){g.prototype[e.toLowerCase()]=function(t,n){var r=new y.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}}),g.prototype.del=g.prototype["delete"],y.get=function(e,t,n){var r=y("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},y.head=function(e,t,n){var r=y("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},y.options=function(e,t,n){var r=y("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.del=p,y["delete"]=p,y.patch=function(e,t,n){var r=y("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.post=function(e,t,n){var r=y("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.put=function(e,t,n){var r=y("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){"use strict";function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(153);e.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},r.prototype.retry=function(e,t){return 0!==arguments.length&&e!==!0||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var a=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];r.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(n===!0)return!0;if(n===!1)return!1}catch(r){console.error(r)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~a.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(e,t){n.end(function(n,r){n?t(n):e(r)})})}return this._fullfilledPromise.then(e,t)},r.prototype["catch"]=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,t){if(i(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),i(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},r.prototype.withCredentials=function(e){return void 0==e&&(e=!0),this._withCredentials=e,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=i(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&i(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],"application/x-www-form-urlencoded"==n?this._data=this._data?this._data+"&"+e:e:this._data=(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)},r.prototype.sortQuery=function(e){return this._sort="undefined"==typeof e||e,this},r.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},r.prototype._appendQueryString=function(){console.trace("Unsupported")},r.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")},this._responseTimeout))}},function(e,t,n){"use strict";function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(380);e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=i.type(t);var n=i.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=i.parseLinks(e.link))}catch(o){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201==e,this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e,this.unprocessableEntity=422==e}},function(e,t){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e},{})},t.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1),o=n[1].split(/ *= */)[1].slice(1,-1);return e[o]=r,e},{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t,n){(function(e,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(382),s=o(a);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof e?e:r;var l=(0,s["default"])(i);t["default"]=l}).call(t,function(){return this}(),n(388)(e))},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t,n){function r(e){return o(e).replace(/\s(\w)/g,function(e,t){return t.toUpperCase()})}var o=n(385);e.exports=r},function(e,t){function n(e){return i.test(e)?e.toLowerCase():a.test(e)?(r(e)||e).toLowerCase():s.test(e)?o(e).toLowerCase():e.toLowerCase()}function r(e){return e.replace(l,function(e,t){return t?" "+t:""})}function o(e){return e.replace(u,function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")})}e.exports=n;var i=/\s/,a=/(_|-|\.|:)/,s=/([a-z][A-Z]|[A-Z][a-z])/,l=/[\W_]+(.|$)/g,u=/(.)([A-Z]+)/g},function(e,t,n){function r(e){return o(e).replace(/[\W_]+(.|$)/g,function(e,t){return t?" "+t:""}).trim()}var o=n(384);e.exports=r},function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r- "):""},O=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),l(t,[{key:"componentWillMount",value:function(){var e=(0,h["default"])("tooltip-");this.setState({id:e,active:!1})}},{key:"showTooltip",value:function(){this.setState({isTooltipActive:!0})}},{key:"hideTooltip",value:function(){this.setState({isTooltipActive:!1})}},{key:"render",value:function(){var e=this.props,t=e.messages,n=e.type,r=e.rendered,o=e.tooltipPlace,i=e.style,l=e.className,u=e.delayHide,p=e.customIcon,f=(e.tooltipClass,e.onClick),h=e.tooltipColor,m=e.maxWidth,v="dnn-ui-common-tooltip "+n+" "+(l?l:""),g=T(t),y=p?E["default"]:s(n);if(!g||r===!1)return c["default"].createElement("noscript",null);var b=this.props.tooltipStyle||a(n,h);return c["default"].createElement("div",{className:v,style:i},c["default"].createElement("div",{id:this.state.id,className:"icon",onClick:f,onMouseEnter:this.showTooltip.bind(this),onMouseLeave:this.hideTooltip.bind(this)},c["default"].createElement(y,{icon:p?p:null})),c["default"].createElement(d["default"],{style:b,active:this.state.isTooltipActive,position:o,tooltipTimeout:u,arrow:"center",parent:"#"+this.state.id},c["default"].createElement("div",{style:{maxWidth:m+"px"},dangerouslySetInnerHTML:{__html:g}})))}}]),t}(u.Component);O.propTypes={messages:u.PropTypes.array.isRequired,type:u.PropTypes.oneOf(["error","warning","info","global"]).isRequired,rendered:u.PropTypes.bool,tooltipPlace:u.PropTypes.oneOf(["top","bottom"]).isRequired,style:u.PropTypes.object,tooltipStyle:u.PropTypes.object,tooltipColor:u.PropTypes.string,className:u.PropTypes.string,delayHide:u.PropTypes.number,customIcon:u.PropTypes.node,tooltipClass:u.PropTypes.string,onClick:u.PropTypes.func,maxWidth:u.PropTypes.number},O.defaultProps={tooltipPlace:"top",type:"info",delayHide:100,maxWidth:400},t["default"]=O}).call(this)}finally{}},function(t,n){t.exports=e},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"svg{fill:#c8c8c8}svg:hover{fill:#6f7273}svg:active{fill:#1e88c3}.dnn-ui-common-tooltip .tooltip-text{z-index:10000;max-width:255px;text-align:center;padding:7px 15px;pointer-events:auto!important;word-wrap:break-word;word-break:keep-all}.dnn-ui-common-tooltip .tooltip-text:hover{visibility:visible!important;opacity:1!important}.dnn-ui-common-tooltip .tooltip-text.place-top:after{border-top:6px solid!important}.dnn-ui-common-tooltip .tooltip-text.place-bottom:after{border-bottom:6px solid!important}.dnn-ui-common-tooltip .tooltip-text.place-left:after{border-left:6px solid!important}.dnn-ui-common-tooltip .tooltip-text.place-right:after{border-right:6px solid!important}.dnn-ui-common-tooltip.error .icon svg{color:#ea2134;fill:#ea2134}.dnn-ui-common-tooltip.error .tooltip-text{background-color:#ea2134!important;color:#fff}.dnn-ui-common-tooltip.error .tooltip-text.place-top:after{border-top-color:#ea2134!important}.dnn-ui-common-tooltip.error .tooltip-text.place-bottom:after{border-bottom-color:#ea2134!important}.dnn-ui-common-tooltip.warning .icon svg{color:#ea9c00;fill:#ea9c00}.dnn-ui-common-tooltip.warning .tooltip-text{background-color:#ea9c00!important;color:#fff}.dnn-ui-common-tooltip.warning .tooltip-text.place-top:after{border-top-color:#ea9c00!important}.dnn-ui-common-tooltip.warning .tooltip-text.place-bottom:after{border-bottom-color:#ea9c00!important}.dnn-ui-common-tooltip.info .icon svg{color:#c8c8c8;fill:#c8c8c8}.dnn-ui-common-tooltip.info .tooltip-text{background-color:#4b4e4f!important;color:#fff}.dnn-ui-common-tooltip.info .tooltip-text.place-top:after{border-top-color:#4b4e4f!important}.dnn-ui-common-tooltip.info .tooltip-text.place-bottom:after{border-bottom-color:#4b4e4f!important}.dnn-ui-common-tooltip.global .icon svg{color:#21a3da;fill:#21a3da}.dnn-ui-common-tooltip.global .tooltip-text{background-color:#21a3da!important;color:#fff}.dnn-ui-common-tooltip.global .tooltip-text.place-top:after{border-top-color:#21a3da!important}.dnn-ui-common-tooltip.global .tooltip-text.place-bottom:after{border-bottom-color:#21a3da!important}.dnn-ui-common-tooltip .icon svg{width:20px;height:20px}.ToolTipPortal>div{z-index:9999999!important}.ToolTipPortal span{margin-top:1px!important}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var f={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a":a.innerHTML="<"+e+">",s[e]=!a.firstChild),s[e]?d[e]:null}var o=n(10),i=n(2),a=o.canUseDOM?document.createElement("div"):null,s={},l=[1,'"],u=[1,"","
"],c=[3,"","
"],p=[1,'',""],d={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c},f=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];f.forEach(function(e){d[e]=p,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){"use strict";function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(188),i=/^ms-/;e.exports=r},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(190);e.exports=r},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},function(e,t){!function(){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){this.map={},e instanceof r?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function i(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function a(e){var t=new FileReader;return t.readAsArrayBuffer(e),i(t)}function s(e,t){var n=new FileReader,r=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",o=/charset\=[0-9a-zA-Z\-\_]*;?/,a=e.type.match(o)||r.match(o),s=[e];return a&&s.push(a[0].replace(/^charset\=/,"").replace(/;$/,"")),n.readAsText.apply(n,s),i(n)}function l(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(h.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(h.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!h.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},h.blob?(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(a)},this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return s(this._bodyBlob,this._options);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=o(this);return e?e:Promise.resolve(this._bodyText)},h.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function u(e){var t=e.toUpperCase();return m.indexOf(t)>-1?t:e}function c(e,t){t=t||{};var n=t.body;if(c.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new r(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new r(t.headers)),this.method=u(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n,t)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function d(e){var t=new r,n=e.getAllResponseHeaders().trim().split("\n");return n.forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t}function f(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof r?t.headers:new r(t.headers),this.url=t.url||""}if(self.__disableNativeFetch||!self.fetch){r.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];o||(o=[],this.map[e]=o),o.push(r)},r.prototype["delete"]=function(e){delete this.map[t(e)]},r.prototype.get=function(e){var n=this.map[t(e)];return n?n[0]:null},r.prototype.getAll=function(e){return this.map[t(e)]||[]},r.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},r.prototype.set=function(e,r){this.map[t(e)]=[n(r)]},r.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)};var h={blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self},m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];c.prototype.clone=function(){return new c(this)},l.call(c.prototype),l.call(f.prototype),f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new r(this.headers),url:this.url})},f.error=function(){var e=new f(null,{status:0,statusText:""});return e.type="error",e};var v=[301,302,303,307,308];f.redirect=function(e,t){if(v.indexOf(t)===-1)throw new RangeError("Invalid status code");return new f(null,{status:t,headers:{location:e}})},self.Headers=r,self.Request=c,self.Response=f,self.fetch=function(e,t){return new Promise(function(n,r){function o(){return"responseURL"in s?s.responseURL:/^X-Request-URL:/m.test(s.getAllResponseHeaders())?s.getResponseHeader("X-Request-URL"):void 0}function i(){if(4===s.readyState){var e=1223===s.status?204:s.status;if(e<100||e>599){if(l)return;return l=!0,void r(new TypeError("Network request failed"))}var t={status:e,statusText:s.statusText,headers:d(s),url:o()},i="response"in s?s.response:s.responseText;l||(l=!0,n(new f(i,t)))}}var a;a=c.prototype.isPrototypeOf(e)&&!t?e:new c(e,t);var s=new XMLHttpRequest,l=!1;s.onreadystatechange=i,s.onload=i,s.onerror=function(){l||(l=!0,r(new TypeError("Network request failed")))},s.open(a.method,a.url,!0);try{"include"===a.credentials&&("withCredentials"in s?s.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(u){console&&console.warn&&console.warn("set withCredentials error:"+u)}"responseType"in s&&h.blob&&(s.responseType="blob"),a.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),s.send("undefined"==typeof a._bodyInit?null:a._bodyInit)})},self.fetch.polyfill=!0,"undefined"!=typeof e&&e.exports&&(e.exports=fetch)}}()},function(e,t){(function(t){var n;n="undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(t,function(){return this}())},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,i){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s=t||n<0||S&&r>=w}function f(){var e=i();return d(e)?h(e):void(E=setTimeout(f,p(e)))}function h(e){return E=void 0,C&&y?r(e):(y=b=void 0,x)}function m(){void 0!==E&&clearTimeout(E),O=0,y=_=b=E=void 0}function v(){return void 0===E?x:h(i())}function g(){var e=i(),n=d(e);if(y=arguments,b=this,_=e,n){if(void 0===E)return c(_);if(S)return clearTimeout(E),E=setTimeout(f,t),r(_)}return void 0===E&&(E=setTimeout(f,t)),x}var y,b,w,x,E,_,O=0,T=!1,S=!1,C=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,o(n)&&(T=!!n.leading,S="maxWait"in n,w=S?l(a(n.maxWait)||0,t):w,C="trailing"in n?!!n.trailing:C),g.cancel=m,g.flush=v,g}var o=n(99),i=n(205),a=n(206),s="Expected a function",l=Math.max,u=Math.min;e.exports=r},[375,97,100],function(e,t,n){var r=n(98),o=function(){return r.Date.now()};e.exports=o},function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=u.test(e);return n||c.test(e)?p(e.slice(2),n?2:8):l.test(e)?a:+e}var o=n(99),i=n(204),a=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,p=parseInt;e.exports=r},function(e,t){var n=null,r=["Webkit","Moz","O","ms"];e.exports=function(e){n||(n=document.createElement("div"));var t=n.style;if(e in t)return e;for(var o=e.charAt(0).toUpperCase()+e.slice(1),i=r.length;i>=0;i--){var a=r[i]+o;if(a in t)return a}return!1}},function(e,t,n){"use strict";function r(){}function o(){}var i=n(209);o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){(function(t){(function(){var n,r,o,i,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,n=function(){var e;return e=r(),1e9*e[0]+e[1]},i=n(),s=1e9*t.uptime(),a=i-s):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(t,n(25))},function(e,t,n){function r(e){var t=+new Date,n=Math.max(0,16-(t-a)),r=setTimeout(e,n);return a=t,r}var o=n(194),i=o.requestAnimationFrame||o.webkitRequestAnimationFrame||o.mozRequestAnimationFrame||r,a=+new Date,s=o.cancelAnimationFrame||o.webkitCancelAnimationFrame||o.mozCancelAnimationFrame||clearTimeout;Function.prototype.bind&&(i=i.bind(o),s=s.bind(o)),t=e.exports=i,t.cancel=s},function(e,t){e.exports='\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n'},function(e,t){e.exports='\r\n\r\n\r\n\r\n\r\n\r\n'},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return d["default"].createElement("div",e)}function a(e){var t=e.style,n=o(e,["style"]),r=c({},t,{right:2,bottom:2,left:2,borderRadius:3});return d["default"].createElement("div",c({style:r},n))}function s(e){var t=e.style,n=o(e,["style"]),r=c({},t,{right:2,bottom:2,top:2,borderRadius:3});return d["default"].createElement("div",c({style:r},n))}function l(e){var t=e.style,n=o(e,["style"]),r=c({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d["default"].createElement("div",c({style:r},n))}function u(e){var t=e.style,n=o(e,["style"]),r=c({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d["default"].createElement("div",c({style:r},n))}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t1?r-1:0),s=1;s0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,o=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,w["default"])()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),o.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,o=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,w["default"])()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),o.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,o=n.onScrollFrame;r&&r(e),this.update(function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,o&&o(e)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var e=this.props.autoHide;e&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var e=this.props.autoHide;e&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect(),o=r.left,i=this.getThumbHorizontalWidth(),a=Math.abs(o-n)-i/2;this.view.scrollLeft=this.getScrollLeftForOffset(a)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect(),o=r.top,i=this.getThumbVerticalHeight(),a=Math.abs(o-n)-i/2;this.view.scrollTop=this.getScrollTopForOffset(a)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,o=t.getBoundingClientRect(),i=o.left;this.prevPageX=r-(n-i)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,o=t.getBoundingClientRect(),i=o.top;this.prevPageY=r-(n-i)}},{key:"setupDragging",value:function(){(0,f["default"])(document.body,C.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=E["default"]}},{key:"teardownDragging",value:function(){(0,f["default"])(document.body,C.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=this.trackHorizontal.getBoundingClientRect(),r=n.left,o=this.getThumbHorizontalWidth(),i=o-this.prevPageX,a=-r+t-i;this.view.scrollLeft=this.getScrollLeftForOffset(a)}if(this.prevPageY){var s=e.clientY,l=this.trackVertical.getBoundingClientRect(),u=l.top,c=this.getThumbVerticalHeight(),p=c-this.prevPageY,d=-u+s-p;this.view.scrollTop=this.getScrollTopForOffset(d)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var e=this.props.autoHide;e&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var e=this.props.autoHide;e&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var e=this.props.autoHide;e&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,f["default"])(this.trackHorizontal,{opacity:1}),(0,f["default"])(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,f["default"])(e.trackHorizontal,{opacity:0}),(0,f["default"])(e.trackVertical,{opacity:0})},t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop},100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&p["default"].cancel(this.requestFrame),this.requestFrame=(0,p["default"])(function(){t.requestFrame=void 0,e()})}},{key:"update",value:function(e){var t=this;this.raf(function(){return t._update(e)})}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,o=this.getValues();if((0,w["default"])()){var i=o.scrollLeft,a=o.clientWidth,s=o.scrollWidth,l=(0,O["default"])(this.trackHorizontal),u=this.getThumbHorizontalWidth(),c=i/(s-a)*(l-u),p={width:u,transform:"translateX("+c+"px)"},d=o.scrollTop,h=o.clientHeight,m=o.scrollHeight,v=(0,S["default"])(this.trackVertical),g=this.getThumbVerticalHeight(),y=d/(m-h)*(v-g),b={height:g,transform:"translateY("+y+"px)"};if(r){var x={visibility:s>a?"visible":"hidden"},E={visibility:m>h?"visible":"hidden"};(0,f["default"])(this.trackHorizontal,x),(0,f["default"])(this.trackVertical,E)}(0,f["default"])(this.thumbHorizontal,p),(0,f["default"])(this.thumbVertical,b)}n&&n(o),"function"==typeof e&&e(o)}},{key:"render",value:function(){var e=this,t=(0,w["default"])(),n=this.props,r=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),i=n.renderTrackHorizontal,a=n.renderTrackVertical,s=n.renderThumbHorizontal,u=n.renderThumbVertical,c=n.tagName,p=(n.hideTracksWhenNotNeeded,n.autoHide),d=(n.autoHideTimeout,n.autoHideDuration),f=(n.thumbSize,n.thumbMinSize,n.universal),m=n.autoHeight,v=n.autoHeightMin,g=n.autoHeightMax,b=n.style,x=n.children,E=o(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),_=this.state.didMountUniversal,O=l({},C.containerStyleDefault,m&&l({},C.containerStyleAutoHeight,{minHeight:v,maxHeight:g}),b),T=l({},C.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},m&&l({},C.viewStyleAutoHeight,{minHeight:(0,y["default"])(v)?"calc("+v+" + "+t+"px)":v+t,maxHeight:(0,y["default"])(g)?"calc("+g+" + "+t+"px)":g+t}),m&&f&&!_&&{minHeight:v,maxHeight:g},f&&!_&&C.viewStyleUniversalInitial),S={transition:"opacity "+d+"ms",opacity:0},P=l({},C.trackHorizontalStyleDefault,p&&S,(!t||f&&!_)&&{display:"none"}),k=l({},C.trackVerticalStyleDefault,p&&S,(!t||f&&!_)&&{display:"none"});return(0,h.createElement)(c,l({},E,{style:O,ref:function(t){e.container=t}}),[(0,h.cloneElement)(r({style:T}),{key:"view",ref:function(t){e.view=t}},x),(0,h.cloneElement)(i({style:P}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,h.cloneElement)(s({style:C.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,h.cloneElement)(a({style:k}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,h.cloneElement)(u({style:C.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(h.Component);t["default"]=k,k.propTypes={onScroll:v["default"].func,onScrollFrame:v["default"].func, +onScrollStart:v["default"].func,onScrollStop:v["default"].func,onUpdate:v["default"].func,renderView:v["default"].func,renderTrackHorizontal:v["default"].func,renderTrackVertical:v["default"].func,renderThumbHorizontal:v["default"].func,renderThumbVertical:v["default"].func,tagName:v["default"].string,thumbSize:v["default"].number,thumbMinSize:v["default"].number,hideTracksWhenNotNeeded:v["default"].bool,autoHide:v["default"].bool,autoHideTimeout:v["default"].number,autoHideDuration:v["default"].number,autoHeight:v["default"].bool,autoHeightMin:v["default"].oneOfType([v["default"].number,v["default"].string]),autoHeightMax:v["default"].oneOfType([v["default"].number,v["default"].string]),universal:v["default"].bool,style:v["default"].object,children:v["default"].node},k.defaultProps={renderView:P.renderViewDefault,renderTrackHorizontal:P.renderTrackHorizontalDefault,renderTrackVertical:P.renderTrackVerticalDefault,renderThumbHorizontal:P.renderThumbHorizontalDefault,renderThumbVertical:P.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},function(e,t){"use strict";function n(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,o=n.paddingBottom;return t-parseFloat(r)-parseFloat(o)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t){"use strict";function n(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,o=n.paddingRight;return t-parseFloat(r)-parseFloat(o)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){if(s!==!1)return s;if("undefined"!=typeof document){var e=document.createElement("div");(0,a["default"])(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),s=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else s=0;return s||0}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=n(91),a=r(i),s=!1},function(e,t){"use strict";function n(e){return"string"==typeof e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t){"use strict";function n(){return!1}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t,n){!function(t,r){e.exports=r(n(1))}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t0||(this.setState({isDragActive:!1,isDragReject:!1}),this.props.onDragLeave&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function(e){e.preventDefault(),this.enterCounter=0,this.setState({isDragActive:!1,isDragReject:!1});for(var t=e.dataTransfer?e.dataTransfer.files:e.target.files,n=this.props.multiple?t.length:Math.min(t.length,1),r=[],o=0;o=t.props.minSize})}},{key:"open",value:function(){this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var e=this,t=this.props,n=t.accept,r=t.activeClassName,i=t.inputProps,a=t.multiple,s=t.name,u=t.rejectClassName,c=o(t,["accept","activeClassName","inputProps","multiple","name","rejectClassName"]),p=c.activeStyle,d=c.className,m=c.rejectStyle,v=c.style,g=o(c,["activeStyle","className","rejectStyle","style"]),y=this.state,b=y.isDragActive,w=y.isDragReject;d=d||"",b&&r&&(d+=" "+r),w&&u&&(d+=" "+u),d||v||p||m||(v={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},p={borderStyle:"solid",backgroundColor:"#eee"},m={borderStyle:"solid",backgroundColor:"#ffdddd"});var x=void 0;x=p&&b?l({},v,p):m&&w?l({},v,m):l({},v);var E={accept:n,type:"file",style:{display:"none"},multiple:h&&a,ref:function(t){return e.fileInputEl=t},onChange:this.onDrop};s&&s.length&&(E.name=s);var _=["disablePreview","disableClick","onDropAccepted","onDropRejected","maxSize","minSize"],O=l({},g);return _.forEach(function(e){return delete O[e]}),f["default"].createElement("div",l({className:d,style:x},O,{onClick:this.onClick,onDragStart:this.onDragStart,onDragEnter:this.onDragEnter,onDragOver:this.onDragOver,onDragLeave:this.onDragLeave,onDrop:this.onDrop}),this.props.children,f["default"].createElement("input",l({},i,E)))}}]),t}(f["default"].Component);m.defaultProps={disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0},m.propTypes={onDrop:f["default"].PropTypes.func,onDropAccepted:f["default"].PropTypes.func,onDropRejected:f["default"].PropTypes.func,onDragStart:f["default"].PropTypes.func,onDragEnter:f["default"].PropTypes.func,onDragLeave:f["default"].PropTypes.func,children:f["default"].PropTypes.node,style:f["default"].PropTypes.object,activeStyle:f["default"].PropTypes.object,rejectStyle:f["default"].PropTypes.object,className:f["default"].PropTypes.string,activeClassName:f["default"].PropTypes.string,rejectClassName:f["default"].PropTypes.string,disablePreview:f["default"].PropTypes.bool,disableClick:f["default"].PropTypes.bool,inputProps:f["default"].PropTypes.object,multiple:f["default"].PropTypes.bool,accept:f["default"].PropTypes.string,name:f["default"].PropTypes.string,maxSize:f["default"].PropTypes.number,minSize:f["default"].PropTypes.number},t["default"]=m,e.exports=t["default"]},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";t.__esModule=!0,n(8),n(9),t["default"]=function(e,t){if(e&&t){var n=function(){var n=t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return{v:n.some(function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t})}}();if("object"==typeof n)return n.v}return!0},e.exports=t["default"]},function(e,t){var n=e.exports={version:"1.2.2"};"number"==typeof __e&&(__e=n)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(2),o=n(1),i=n(4),a=n(19),s="prototype",l=function(e,t){return function(){return e.apply(t,arguments)}},u=function(e,t,n){var c,p,d,f,h=e&u.G,m=e&u.P,v=h?r:e&u.S?r[t]||(r[t]={}):(r[t]||{})[s],g=h?o:o[t]||(o[t]={});h&&(n=t);for(c in n)p=!(e&u.F)&&v&&c in v,d=(p?v:n)[c],f=e&u.B&&p?l(d,r):m&&"function"==typeof d?l(Function.call,d):d,v&&!p&&a(v,c,d),g[c]!=d&&i(g,c,f),m&&((g[s]||(g[s]={}))[c]=d)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,e.exports=u},function(e,t,n){var r=n(5),o=n(18);e.exports=n(22)?function(e,t,n){return r.setDesc(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(20)("wks"),o=n(2).Symbol;e.exports=function(e){return r[e]||(r[e]=o&&o[e]||(o||n(6))("Symbol."+e))}},function(e,t,n){n(26),e.exports=n(1).Array.some},function(e,t,n){n(25),e.exports=n(1).String.endsWith},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n(7)("match")]=!1,!"/./"[e](t)}catch(o){}}return!0}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(16),o=n(11),i=n(7)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(2),o=n(4),i=n(6)("src"),a="toString",s=Function[a],l=(""+s).split(a);n(1).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,a){"function"==typeof n&&(o(n,i,e[t]?""+e[t]:l.join(String(t))),"name"in n||(n.name=t)),e===r?e[t]=n:(a||delete e[t],o(e,t,n))})(Function.prototype,a,function(){return"function"==typeof this&&this[i]||s.call(this)})},function(e,t,n){var r=n(2),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t,n){var r=n(17),o=n(13);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(23),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(3),o=n(24),i=n(21),a="endsWith",s=""[a];r(r.P+r.F*n(14)(a),"String",{endsWith:function(e){var t=i(this,e,a),n=arguments,r=n.length>1?n[1]:void 0,l=o(t.length),u=void 0===r?l:Math.min(o(r),l),c=String(e);return s?s.call(t,c,u):t.slice(u-c.length,u)===c}})},function(e,t,n){var r=n(5),o=n(3),i=n(1).Array||Array,a={},s=function(e,t){r.each.call(e.split(","),function(e){void 0==t&&e in i?a[e]=i[e]:e in[]&&(a[e]=n(12)(Function.call,[][e],t))})};s("pop,reverse,shift,keys,values,entries",1),s("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),s("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",a)}])},function(t,n){t.exports=e}])})},function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e={SET_MAX_SCROLL_TOP:"SET_MAX_SCROLL_TOP"};t["default"]=e}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(38),o=e(r),i={loadInitialParameters:function(e){return{type:o["default"].MODULE_PARAMETERS_LOADED,data:e}}};t["default"]=i}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(103),o=e(r),i={close:function(){return{type:o["default"].CLOSE_MESSAGE_MODAL}}};t["default"]=i}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(104),o=e(r),i={changeSearchField:function(e){return{type:o["default"].CHANGE_SEARCH_FIELD,data:e}}};t["default"]=i}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n",s=this.getSearchIcon();return l["default"].createElement("div",{className:"dnn-folder-selector"},l["default"].createElement("div",{className:"selected-item",onClick:this.onFoldersClick.bind(this)},a),l["default"].createElement("div",{className:"folder-selector-container"+(this.state.showFolderPicker?" show":"")},l["default"].createElement("div",{className:"inner-box"},l["default"].createElement("div",{className:"search"},l["default"].createElement("input",{type:"text",value:this.state.searchFolderText,onChange:this.onChangeSearchFolderText.bind(this),placeholder:i,"aria-label":"Search"}),this.state.searchFolderText&&l["default"].createElement("div",{onClick:this.clearSearch.bind(this),className:"clear-button"},"×"),s),l["default"].createElement("div",{className:"items"},l["default"].createElement(f.Scrollbars,{className:"scrollArea content-vertical",autoHeight:!0,autoHeightMin:0,autoHeightMax:200},l["default"].createElement(d["default"],{ +folders:n,onParentExpands:r,onFolderChange:this.onFolderChange.bind(this)}))))))}}]),t}(s.Component);t["default"]=m,m.propTypes={folders:s.PropTypes.object,onFolderChange:s.PropTypes.func.isRequired,onParentExpands:s.PropTypes.func.isRequired,selectedFolder:s.PropTypes.object,searchFolder:s.PropTypes.func.isRequired,noFolderSelectedValue:s.PropTypes.string.isRequired,searchFolderPlaceHolder:s.PropTypes.string.isRequired}}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;np&&(s||(this.setState({loadingFlag:!0}),a?r(t,a,!0):n(t)))}},{key:"render",value:function(){for(var e=this.props,t=e.items,n=e.itemEditing,r=e.search,o=e.itemContainerDisabled,i=e.loading,a=-1,s=[],l=0;l=t.length&&l===t.length-1;s.push(this.getDetailsPanel(h,l))}return p["default"].createElement("div",{id:"Assets-panel"},p["default"].createElement(m["default"],null),p["default"].createElement("div",{className:"assets-body"},p["default"].createElement(_["default"],null),p["default"].createElement("div",{ref:"mainContainer",className:"main-container"+(i?" loading":"")},p["default"].createElement(b["default"],null),p["default"].createElement(x["default"],null),p["default"].createElement("div",{className:"item-container"+(r?" rm_search":"")+(t.length?"":" empty")+(o?" disabled":"")},s,p["default"].createElement("div",{className:"empty-label rm_search"},p["default"].createElement("span",{className:"empty-title"},k["default"].getString("AssetsPanelNoSearchResults"))),p["default"].createElement("div",{className:"empty-label rm-folder"},p["default"].createElement("span",{className:"empty-title"},k["default"].getString("AssetsPanelEmpty_Title")),p["default"].createElement("span",{className:"empty-subtitle"},k["default"].getString("AssetsPanelEmpty_Subtitle")))))))}}]),t}(p["default"].Component);A.propTypes={folderPanelState:c.PropTypes.object,items:c.PropTypes.array,search:c.PropTypes.string,itemContainerDisabled:c.PropTypes.bool,loading:c.PropTypes.bool,itemEditing:c.PropTypes.object,itemWidth:c.PropTypes.number,loadContent:c.PropTypes.func,searchFiles:c.PropTypes.func},t["default"]=(0,d.connect)(s,a)(A)}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){var t=e.breadcrumbs,n=e.folderPanel;return{breadcrumbs:t.breadcrumbs||[],folderPanelState:n}}function s(e){return l({},(0,d.bindActionCreators)({loadContent:g["default"].loadContent},e))}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t"),i.push(p["default"].createElement(m["default"],{key:a,name:t[s].folderName,onClick:n.bind(this,r,a)}));return o&&(i.push(">"),i.push(p["default"].createElement(m["default"],{key:"search",name:b["default"].getString("Search")+" '"+o+"'"}))),p["default"].createElement("div",{className:"breadcrumbs-container"},i)}}]),t}(p["default"].Component);w.propTypes={breadcrumbs:c.PropTypes.array,loadContent:c.PropTypes.func,folderPanelState:c.PropTypes.object},t["default"]=(0,f.connect)(a,s)(w)}).call(this)}finally{}},function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return l({},(0,d.bindActionCreators)({showAddFolderPanel:g["default"].showPanel,showAddAssetPanel:b["default"].showPanel},e))}function s(e){var t=e.folderPanel;return{hasAddFilesPermission:t.hasAddFilesPermission,hasAddFoldersPermission:t.hasAddFoldersPermission}}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:d,t=arguments[1],n=t.data;switch(t.type){case u["default"].SHOW_ADD_ASSET_PANEL:return s({},e,{expanded:!0});case p["default"].CLOSE_TOP_PANELS:case u["default"].HIDE_ADD_ASSET_PANEL:return s({},e,{expanded:!1});case u["default"].RESET_PANEL:return s({},e,{error:null,progress:{},uploadedFiles:[]});case u["default"].ASSET_ADDED:var o=[].concat(r(e.uploadedFiles),[n]),a=s({},e.progress[n.fileName],{completed:!0,path:n.path,fileIconUrl:n.fileIconUrl});return s({},e,{uploadedFiles:o,progress:i(e.progress,a)});case u["default"].ASSET_ADDED_ERROR:var l=s({},e.progress[n.fileName],{fileName:n.fileName,error:n.message});return s({},e,{progress:i(e.progress,l)});case u["default"].UPDATE_PROGRESS:return s({},e,{progress:i(e.progress,n)});case u["default"].FILE_ALREADY_EXIST:var c=s({},e.progress[n.fileName],{path:n.path,fileIconUrl:n.fileIconUrl,percent:0,alreadyExists:!0});return s({},e,{progress:i(e.progress,c)});case u["default"].STOP_UPLOAD:var f=s({},e.progress[n],{alreadyExists:!1,stopped:!0});return s({},e,{progress:i(e.progress,f)})}return e}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1],n=t.data;switch(t.type){case a["default"].SHOW_ADD_FOLDER_PANEL:return o({},e,{expanded:!0});case a["default"].FOLDER_CREATED:return o({},e,{newFolderId:n.FolderID,expanded:!1});case l["default"].CLOSE_TOP_PANELS:case a["default"].HIDE_ADD_FOLDER_PANEL:var r={name:"",folderType:e.defaultFolderType},i=o({},e,{formData:r,expanded:!1,newFolderId:null});return delete i.validationErrors,i;case a["default"].FOLDER_MAPPINGS_LOADED:var s=n&&n[0]?n[0].FolderMappingID:null,c=o({},e.formData,{folderType:s});return o({},e,{formData:c,folderMappings:n,defaultFolderType:s});case a["default"].CHANGE_NAME:var p=o({},e.formData,{name:n});return o({},e,{formData:p});case a["default"].CHANGE_FOLDER_TYPE:var d=o({},e.formData,{folderType:n});return o({},e,{formData:d});case a["default"].SET_VALIDATION_ERRORS:return o({},e,{validationErrors:n})}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1],n=t.data;switch(t.type){case a["default"].MODULE_PARAMETERS_LOADED:var r=n.openFolderId,i=u.breadcrumbs;return r&&(i=[{folderId:n.homeFolderId}]),o({},e,{breadcrumbs:i});case l["default"].CONTENT_LOADED:for(var s=!1,c=n.folder,p=c.folderId,d=c.folderName,f=c.folderPath,h=c.folderParentId,m={folderId:p,folderName:d||f?d:"Site Root"},v=e.breadcrumbs.slice(),g=0;g0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=t.data;switch(t.type){case a["default"].OPEN_DIALOG_MODAL:return o({},e,n);case a["default"].CLOSE_DIALOG_MODAL:case l["default"].FOLDER_DELETED:case l["default"].DELETE_FOLDER_ERROR:var r=o({},e);return delete r.dialogMessage,delete r.yesFunction,delete r.noFunction,r}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:p,t=arguments[1],n=t.data;switch(t.type){case a["default"].MODULE_PARAMETERS_LOADED:return o({},e,{homeFolderId:n.homeFolderId,currentFolderId:n.openFolderId||n.homeFolderId,numItems:n.numItems,itemWidth:n.itemWidth,sortOptions:n.sortingOptions,sorting:n.sorting});case l["default"].SET_LOADING:return o({},e,{loading:n});case l["default"].FILES_SEARCHED:var r=o({},e,n);return delete r.newItem,o({},r,{loadedItems:n.items.length});case l["default"].CONTENT_LOADED:var i=o({},e,n);delete i.newItem,delete i.search;var s=n.folder,u=n.items,d=n.hasAddPermission,f=s.folderName||s.folderPath?s.folderName:"Root";return o({},i,{currentFolderId:s.folderId,currentFolderName:f,loadedItems:u.length,hasAddPermission:d});case l["default"].MORE_CONTENT_LOADED:var h=e.items.slice();return h=h.concat(n.items),o({},e,{items:h,loadedItems:h.length,hasAddPermission:n.hasAddPermission});case l["default"].CHANGE_SEARCH:return o({},e,{search:n});case c["default"].ITEM_SAVED:var m=n,v=e.items.slice(),g=v.findIndex(function(e){return e.isFolder===m.isFolder&&e.itemId===m.itemId});return v[g]=o({},v[g],{itemName:m.itemName}),o({},e,{items:v});case l["default"].CHANGE_SORTING:return o({},e,{sorting:n})}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1],n=t.data;switch(t.type){case a["default"].SET_MAX_SCROLL_TOP:return o({},e,{maxScrollTop:n});case l["default"].CONTENT_LOADED:case l["default"].FILES_SEARCHED:return o({},e,{maxScrollTop:0})}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1],n=t.data;switch(t.type){case a["default"].EDIT_ITEM:return o({},e,{itemEditing:n});case a["default"].CHANGE_NAME:var r=o({},e.itemEditing,{fileName:n,folderName:n});return o({},e,{itemEditing:r});case a["default"].CHANGE_TITLE:var i=o({},e.itemEditing,{title:n});return o({},e,{itemEditing:i});case a["default"].CHANGE_DESCRIPTION:var l=o({},e.itemEditing,{description:n});return o({},e,{itemEditing:l});case a["default"].SET_VALIDATION_ERRORS:return o({},e,{validationErrors:n});case a["default"].ITEM_SAVED:case a["default"].CANCEL_EDIT_ITEM:var u=o({},e);return delete u.itemEditing,u}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=t.data;switch(t.type){case a["default"].CLOSE_MESSAGE_MODAL:var r=o({},e);return delete r.infoMessage,delete r.errorMessage,r;case c["default"].EDIT_ITEM_ERROR:case c["default"].SAVE_ITEM_ERROR:case l["default"].DELETE_FILE_ERROR:case l["default"].DELETE_FOLDER_ERROR:case l["default"].LOAD_CONTENT_ERROR:case d["default"].ADD_FOLDER_ERROR:return o({},e,{infoMessage:n});case c["default"].ITEM_SAVED:return o({},e,{infoMessage:h["default"].getString("ItemSavedMessage")});case l["default"].URL_COPIED_TO_CLIPBOARD:return o({},e,{infoMessage:h["default"].getString("UrlCopiedMessage")})}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1],n=t.data;switch(t.type){case a["default"].MODULE_PARAMETERS_LOADED:return o({},e,n)}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=t.data;switch(t.type){case a["default"].CHANGE_SEARCH_FIELD:return o({},e,{search:n});case l["default"].CONTENT_LOADED:return o({},e,{search:void 0})}return e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&(M-=1,0===M&&w.show(t)),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(v.returnFocus(),v.teardownScopedFocus()):v.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),S["default"].deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(v.setupScopedFocus(n.node),v.markForFocusLater()),n.setState({isOpen:!0},function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus()},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){e.keyCode===P&&(0,y["default"])(n.content,e),n.props.shouldCloseOnEsc&&e.keyCode===k&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===("undefined"==typeof t?"undefined":u(t))?t:{base:C[e],afterOpen:C[e]+"--after-open",beforeClose:C[e]+"--before-close"},o=r.base;return n.state.afterOpen&&(o=o+" "+r.afterOpen),n.state.beforeClose&&(o=o+" "+r.beforeClose),"string"==typeof t&&t?o+" "+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return s(t,e),c(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&E.add(document.body,o),r&&E.add(document.getElementsByTagName("html")[0],r),n&&(M+=1,w.hide(t)),S["default"].register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.overlayClassName,o=e.defaultStyles,i=n?{}:o.content,a=r?{}:o.overlay;return this.shouldBeClosed()?null:d["default"].createElement("div",{ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:l({},a,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},d["default"].createElement("div",l({id:t,ref:this.setContentRef,style:l({},i,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",this.props.aria||{}),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),this.props.children))}}]),t}(p.Component);I.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},I.propTypes={isOpen:h["default"].bool.isRequired,defaultStyles:h["default"].shape({content:h["default"].object,overlay:h["default"].object}),style:h["default"].shape({content:h["default"].object,overlay:h["default"].object}),className:h["default"].oneOfType([h["default"].string,h["default"].object]),overlayClassName:h["default"].oneOfType([h["default"].string,h["default"].object]),bodyOpenClassName:h["default"].string,htmlOpenClassName:h["default"].string,ariaHideApp:h["default"].bool,appElement:h["default"].instanceOf(O["default"]),onAfterOpen:h["default"].func,onAfterClose:h["default"].func,onRequestClose:h["default"].func,closeTimeoutMS:h["default"].number,shouldFocusAfterRender:h["default"].bool,shouldCloseOnOverlayClick:h["default"].bool,shouldReturnFocusAfterClose:h["default"].bool,role:h["default"].string,contentLabel:h["default"].string,aria:h["default"].object,data:h["default"].object,children:h["default"].node,shouldCloseOnEsc:h["default"].bool,overlayRef:h["default"].func,contentRef:h["default"].func,id:h["default"].string,testId:h["default"].string},t["default"]=I,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){0!==c.length&&c[c.length-1].focusContent()}function i(e,t){l&&u||(l=document.createElement("div"),l.setAttribute("data-react-modal-body-trap",""),l.style.position="absolute",l.style.opacity="0",l.setAttribute("tabindex","0"),l.addEventListener("focus",o),u=l.cloneNode(),u.addEventListener("focus",o)),c=t,c.length>0?(document.body.firstChild!==l&&document.body.insertBefore(l,document.body.firstChild),document.body.lastChild!==u&&document.body.appendChild(u)):(l.parentElement&&l.parentElement.removeChild(l),u.parentElement&&u.parentElement.removeChild(u))}var a=n(110),s=r(a),l=void 0,u=void 0,c=[];s["default"].subscribe(i)},function(e,t,n){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.dumpClassLists=r;var o={},i={},a=function(e,t){return e[t]||(e[t]=0),e[t]+=1,t},s=function(e,t){return e[t]&&(e[t]-=1),t},l=function(e,t,n){n.forEach(function(n){a(t,n),e.add(n)})},u=function(e,t,n){n.forEach(function(n){s(t,n),0===t[n]&&e.remove(n)})};t.add=function(e,t){return l(e.classList,"html"==e.nodeName.toLowerCase()?o:i,t.split(" "))},t.remove=function(e,t){return u(e.classList,"html"==e.nodeName.toLowerCase()?o:i,t.split(" "))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){m=!0}function i(){if(m){if(m=!1,!h)return;setTimeout(function(){if(!h.contains(document.activeElement)){var e=(0,d["default"])(h)[0]||h;e.focus()}},0)}}function a(){f.push(document.activeElement)}function s(){var e=null;try{return void(0!==f.length&&(e=f.pop(),e.focus()))}catch(t){console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}}function l(){f.length>0&&f.pop()}function u(e){h=e,window.addEventListener?(window.addEventListener("blur",o,!1),document.addEventListener("focus",i,!0)):(window.attachEvent("onBlur",o),document.attachEvent("onFocus",i))}function c(){h=null,window.addEventListener?(window.removeEventListener("blur",o),document.removeEventListener("focus",i)):(window.detachEvent("onBlur",o),document.detachEvent("onFocus",i))}Object.defineProperty(t,"__esModule",{value:!0}),t.handleBlur=o,t.handleFocus=i,t.markForFocusLater=a,t.returnFocus=s,t.popWithoutFocus=l,t.setupScopedFocus=u,t.teardownScopedFocus=c;var p=n(111),d=r(p),f=[],h=null,m=!1},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n=(0,a["default"])(e);if(!n.length)return void t.preventDefault();var r=void 0,o=t.shiftKey,i=n[0],s=n[n.length-1];if(e===document.activeElement){if(!o)return;r=s}if(s!==document.activeElement||o||(r=i),i===document.activeElement&&o&&(r=s),r)return t.preventDefault(),void r.focus();var l=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),u=null!=l&&"Chrome"!=l[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent);if(u){var c=n.indexOf(document.activeElement);if(c>-1&&(c+=o?-1:1),r=n[c],"undefined"==typeof r)return t.preventDefault(),r=o?s:i,void r.focus();t.preventDefault(),r.focus()}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=n(111),a=r(i);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(266),i=r(o);t["default"]=i["default"],e.exports=t["default"]},function(e,t,n){"use strict";var r=!1,o=function(){};if(r){var i=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r2?r-2:0);for(var o=2;o10*_&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();var i=(e.accumulatedTime-Math.floor(e.accumulatedTime/_)*_)/_,a=Math.floor(e.accumulatedTime/_),s={},l={},u={},p={};for(var f in n)if(Object.prototype.hasOwnProperty.call(n,f)){var h=n[f];if("number"==typeof h)u[f]=h,p[f]=0,s[f]=h,l[f]=0;else{for(var m=e.state.lastIdealStyle[f],g=e.state.lastIdealVelocity[f],y=0;y10*O&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();for(var a=(e.accumulatedTime-Math.floor(e.accumulatedTime/O)*O)/O,s=Math.floor(e.accumulatedTime/O),l=[],u=[],c=[],d=[],h=0;h10*P&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();for(var u=(e.accumulatedTime-Math.floor(e.accumulatedTime/P)*P)/P,c=Math.floor(e.accumulatedTime/P),p=a(e.props.willEnter,e.props.willLeave,e.props.didLeave,e.state.mergedPropsStyles,r,e.state.currentStyles,e.state.currentVelocities,e.state.lastIdealStyles,e.state.lastIdealVelocities),d=p[0],h=p[1],m=p[2],v=p[3],y=p[4],b=0;br[c])return-1;if(o>i[c]&&lr[c])return 1;if(a>i[c]&&s, "+('or explicitly pass "store" as a prop to "'+n+'".'));var l=a.store.getState();return a.state={storeState:l},a.clearCache(),a}return a(s,r),s.prototype.shouldComponentUpdate=function(){return!b||this.haveOwnPropsChanged||this.hasStoreStateChanged},s.prototype.computeStateProps=function(e,t){if(!this.finalMapStateToProps)return this.configureFinalMapState(e,t);var n=e.getState(),r=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(n,t):this.finalMapStateToProps(n);return r},s.prototype.configureFinalMapState=function(e,t){var n=d(e.getState(),t),r="function"==typeof n;return this.finalMapStateToProps=r?n:d,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,r?this.computeStateProps(e,t):n},s.prototype.computeDispatchProps=function(e,t){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(e,t);var n=e.dispatch,r=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(n,t):this.finalMapDispatchToProps(n);return r},s.prototype.configureFinalMapDispatch=function(e,t){var n=h(e.dispatch,t),r="function"==typeof n;return this.finalMapDispatchToProps=r?n:h,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,r?this.computeDispatchProps(e,t):n},s.prototype.updateStatePropsIfNeeded=function(){var e=this.computeStateProps(this.store,this.props);return!(this.stateProps&&(0,m["default"])(e,this.stateProps)||(this.stateProps=e,0))},s.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return!(this.dispatchProps&&(0,m["default"])(e,this.dispatchProps)||(this.dispatchProps=e, +0))},s.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&k&&(0,m["default"])(e,this.mergedProps)||(this.mergedProps=e,0))},s.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},s.prototype.trySubscribe=function(){u&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},s.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},s.prototype.componentDidMount=function(){this.trySubscribe()},s.prototype.componentWillReceiveProps=function(e){b&&(0,m["default"])(e,this.props)||(this.haveOwnPropsChanged=!0)},s.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},s.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},s.prototype.handleChange=function(){if(this.unsubscribe){var e=this.store.getState(),t=this.state.storeState;if(!b||t!==e){if(b&&!this.doStatePropsDependOnOwnProps){var n=l(this.updateStatePropsIfNeeded,this);if(!n)return;n===C&&(this.statePropsPrecalculationError=C.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:e})}}},s.prototype.getWrappedInstance=function(){return(0,_["default"])(E,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},s.prototype.render=function(){var t=this.haveOwnPropsChanged,n=this.hasStoreStateChanged,r=this.haveStatePropsBeenPrecalculated,o=this.statePropsPrecalculationError,i=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,o)throw o;var a=!0,s=!0;b&&i&&(a=n||t&&this.doStatePropsDependOnOwnProps,s=t&&this.doDispatchPropsDependOnOwnProps);var l=!1,u=!1;r?l=!0:a&&(l=this.updateStatePropsIfNeeded()),s&&(u=this.updateDispatchPropsIfNeeded());var d=!0;return d=!!(l||u||t)&&this.updateMergedPropsIfNeeded(),!d&&i?i:(E?this.renderedElement=(0,p.createElement)(e,c({},this.mergedProps,{ref:"wrappedInstance"})):this.renderedElement=(0,p.createElement)(e,this.mergedProps),this.renderedElement)},s}(p.Component);return r.displayName=n,r.WrappedComponent=e,r.contextTypes={store:f["default"]},r.propTypes={store:f["default"]},(0,x["default"])(r,e)}}var c=Object.assign||function(e){for(var t=1;t8&&_<=11),S=32,C=String.fromCharCode(S),P=f.topLevelTypes,k={beforeInput:{phasedRegistrationNames:{bubbled:b({onBeforeInput:null}),captured:b({onBeforeInputCapture:null})},dependencies:[P.topCompositionEnd,P.topKeyPress,P.topTextInput,P.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:b({onCompositionEnd:null}),captured:b({onCompositionEndCapture:null})},dependencies:[P.topBlur,P.topCompositionEnd,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:b({onCompositionStart:null}),captured:b({onCompositionStartCapture:null})},dependencies:[P.topBlur,P.topCompositionStart,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:b({onCompositionUpdate:null}),captured:b({onCompositionUpdateCapture:null})},dependencies:[P.topBlur,P.topCompositionUpdate,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]}},M=!1,I=null,A={eventTypes:k,extractEvents:function(e,t,n,r){return[u(e,t,n,r),d(e,t,n,r)]}};e.exports=A},function(e,t,n){"use strict";var r=n(116),o=n(10),i=(n(14),n(182),n(344)),a=n(189),s=n(192),l=(n(4),s(function(e){return a(e)})),u=!1,c="cssFloat";if(o.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(d){u=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var f={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=l(r)+":",n+=i(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var a in t)if(t.hasOwnProperty(a)){var s=i(a,t[a],n);if("float"!==a&&"cssFloat"!==a||(a=c),s)o[a]=s;else{var l=u&&r.shorthandPropertyExpansions[a];if(l)for(var p in l)o[p]="";else o[a]=""}}}};e.exports=f},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=O.getPooled(M.change,A,e,T(e));w.accumulateTwoPhaseDispatches(t),_.batchedUpdates(i,t)}function i(e){b.enqueueEvents(e),b.processEventQueue(!1)}function a(e,t){I=e,A=t,I.attachEvent("onchange",o)}function s(){I&&(I.detachEvent("onchange",o),I=null,A=null)}function l(e,t){if(e===k.topChange)return t}function u(e,t,n){e===k.topFocus?(s(),a(t,n)):e===k.topBlur&&s()}function c(e,t){I=e,A=t,D=e.value,N=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(I,"value",L),I.attachEvent?I.attachEvent("onpropertychange",d):I.addEventListener("propertychange",d,!1)}function p(){I&&(delete I.value,I.detachEvent?I.detachEvent("onpropertychange",d):I.removeEventListener("propertychange",d,!1),I=null,A=null,D=null,N=null)}function d(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==D&&(D=t,o(e))}}function f(e,t){if(e===k.topInput)return t}function h(e,t,n){e===k.topFocus?(p(),c(t,n)):e===k.topBlur&&p()}function m(e,t){if((e===k.topSelectionChange||e===k.topKeyUp||e===k.topKeyDown)&&I&&I.value!==D)return D=I.value,A}function v(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function g(e,t){if(e===k.topClick)return t}var y=n(17),b=n(30),w=n(31),x=n(10),E=n(6),_=n(16),O=n(18),T=n(78),S=n(79),C=n(140),P=n(19),k=y.topLevelTypes,M={change:{phasedRegistrationNames:{bubbled:P({onChange:null}),captured:P({onChangeCapture:null})},dependencies:[k.topBlur,k.topChange,k.topClick,k.topFocus,k.topInput,k.topKeyDown,k.topKeyUp,k.topSelectionChange]}},I=null,A=null,D=null,N=null,R=!1;x.canUseDOM&&(R=S("change")&&(!document.documentMode||document.documentMode>8));var j=!1;x.canUseDOM&&(j=S("input")&&(!document.documentMode||document.documentMode>11));var L={get:function(){return N.get.call(this)},set:function(e){D=""+e,N.set.call(this,e)}},F={eventTypes:M,extractEvents:function(e,t,n,o){var i,a,s=t?E.getNodeFromInstance(t):window;if(r(s)?R?i=l:a=u:C(s)?j?i=f:(i=m,a=h):v(s)&&(i=g),i){var c=i(e,t);if(c){var p=O.getPooled(M.change,c,n,o);return p.type="change",w.accumulateTwoPhaseDispatches(p),p}}a&&a(e,s,t)}};e.exports=F},function(e,t,n){"use strict";var r=n(3),o=n(26),i=n(10),a=n(185),s=n(12),l=(n(2),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=a(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=l},function(e,t,n){"use strict";var r=n(19),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];e.exports=o},function(e,t,n){"use strict";var r=n(17),o=n(31),i=n(6),a=n(45),s=n(19),l=r.topLevelTypes,u={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},c={eventTypes:u,extractEvents:function(e,t,n,r){if(e===l.topMouseOver&&(n.relatedTarget||n.fromElement))return null;if(e!==l.topMouseOut&&e!==l.topMouseOver)return null;var s;if(r.window===r)s=r;else{var c=r.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var p,d;if(e===l.topMouseOut){p=t;var f=n.relatedTarget||n.toElement;d=f?i.getClosestInstanceFromNode(f):null}else p=null,d=t;if(p===d)return null;var h=null==p?s:i.getNodeFromInstance(p),m=null==d?s:i.getNodeFromInstance(d),v=a.getPooled(u.mouseLeave,p,n,r);v.type="mouseleave",v.target=h,v.relatedTarget=m;var g=a.getPooled(u.mouseEnter,d,n,r);return g.type="mouseenter",g.target=m,g.relatedTarget=h,o.accumulateEnterLeaveDispatches(v,g,p,d),[v,g]}};e.exports=c},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(5),i=n(21),a=n(138);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(27),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,l=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,u={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,"default":i,defer:i,dir:0,disabled:i,download:l,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,"typeof":0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=u},function(e,t,n){"use strict";var r=n(5),o=n(119),i=n(66),a=n(324),s=n(120),l=n(307),u=n(15),c=n(130),p=n(131),d=n(350),f=(n(4),u.createElement),h=u.createFactory,m=u.cloneElement,v=r,g={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:d},Component:i,PureComponent:a,createElement:f,cloneElement:m,isValidElement:u.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:l,version:p,__spread:v};e.exports=g},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=i(t,!0))}var o=n(28),i=n(139),a=(n(64),n(80)),s=n(81),l=(n(4),{instantiateChildren:function(e,t,n,o){if(null==e)return null;var i={};return s(e,r,i),i},updateChildren:function(e,t,n,r,s,l,u,c,p){if(t||e){var d,f;for(d in t)if(t.hasOwnProperty(d)){f=e&&e[d];var h=f&&f._currentElement,m=t[d];if(null!=f&&a(h,m))o.receiveComponent(f,m,s,c),t[d]=f;else{f&&(r[d]=o.getHostNode(f),o.unmountComponent(f,!1));var v=i(m,!0);t[d]=v;var g=o.mountComponent(v,s,l,u,c,p);n.push(g)}}for(d in e)!e.hasOwnProperty(d)||t&&t.hasOwnProperty(d)||(f=e[d],r[d]=o.getHostNode(f),o.unmountComponent(f,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.unmountComponent(r,t)}}});e.exports=l}).call(t,n(25))},function(e,t,n){"use strict";var r=n(60),o=n(309),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";function r(e){}function o(e,t){}function i(e){return!(!e.prototype||!e.prototype.isReactComponent)}function a(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var s=n(3),l=n(5),u=n(67),c=n(22),p=n(15),d=n(69),f=n(32),h=(n(14),n(129)),m=(n(72),n(28)),v=n(343),g=n(24),y=(n(2),n(52)),b=n(80),w=(n(4),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=f.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var x=1,E={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,l){this._context=l,this._mountOrder=x++,this._hostParent=t,this._hostContainerInfo=n;var u,c=this._currentElement.props,d=this._processContext(l),h=this._currentElement.type,m=e.getUpdateQueue(),v=i(h),y=this._constructComponent(v,c,d,m);v||null!=y&&null!=y.render?a(h)?this._compositeType=w.PureClass:this._compositeType=w.ImpureClass:(u=y,o(h,u),null===y||y===!1||p.isValidElement(y)?void 0:s("105",h.displayName||h.name||"Component"),y=new r(h),this._compositeType=w.StatelessFunctional),y.props=c,y.context=d,y.refs=g,y.updater=m,this._instance=y,f.set(y,this);var b=y.state;void 0===b&&(y.state=b=null),"object"!=typeof b||Array.isArray(b)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var E;return E=y.unstable_handleError?this.performInitialMountWithErrorHandling(u,t,n,e,l):this.performInitialMount(u,t,n,e,l),y.componentDidMount&&e.getReactMountReady().enqueue(y.componentDidMount,y),E},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(e,t,n,r,o)}catch(s){r.rollback(a),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(e,t,n,r,o)}return i},performInitialMount:function(e,t,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===e&&(e=this._renderValidatedComponent());var s=h.getType(e);this._renderedNodeType=s;var l=this._instantiateReactComponent(e,s!==h.EMPTY);this._renderedComponent=l;var u=m.mountComponent(l,r,t,n,this._processChildContext(o),a);return u},getHostNode:function(){return m.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";d.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(m.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,f.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return g;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",o);return l({},e,t)}return e},_checkContextTypes:function(e,t,n){v(e,t,n,this.getName(),null,this._debugID)},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?m.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var i=this._instance;null==i?s("136",this.getName()||"ReactCompositeComponent"):void 0;var a,l=!1;this._context===o?a=i.context:(a=this._processContext(o),l=!0);var u=t.props,c=n.props;t!==n&&(l=!0),l&&i.componentWillReceiveProps&&i.componentWillReceiveProps(c,a);var p=this._processPendingState(c,a),d=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?d=i.shouldComponentUpdate(c,p,a):this._compositeType===w.PureClass&&(d=!y(u,c)||!y(i.state,p))),this._updateBatchNumber=null,d?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,c,p,a,e,o)):(this._currentElement=n,this._context=o,i.props=c,i.state=p,i.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=l({},o?r[0]:n.state),a=o?1:0;a=0||null!=t.is}function h(e){var t=e.type;d(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=n(3),v=n(5),g=n(289),y=n(291),b=n(26),w=n(61),x=n(27),E=n(118),_=n(17),O=n(30),T=n(62),S=n(44),C=n(303),P=n(121),k=n(6),M=n(310),I=n(311),A=n(122),D=n(314),N=(n(14),n(322)),R=n(327),j=(n(12),n(46)),L=(n(2),n(79),n(19)),F=(n(52),n(82),n(4),P),V=O.deleteListener,H=k.getNodeFromInstance,U=S.listenTo,B=T.registrationNameModules,z={string:!0,number:!0},G=L({style:null}),W=L({__html:null}),q={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},Y=11,K={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},X={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},$={listing:!0,pre:!0,textarea:!0},Z=v({menuitem:!0},X),Q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,J={},ee={}.hasOwnProperty,te=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=te++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"button":i=C.getHostProps(this,i,t);break;case"input":M.mountWrapper(this,i,t),i=M.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"option":I.mountWrapper(this,i,t),i=I.getHostProps(this,i);break;case"select":A.mountWrapper(this,i,t),i=A.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"textarea":D.mountWrapper(this,i,t),i=D.getHostProps(this,i),e.getReactMountReady().enqueue(c,this)}o(this,i);var a,p;null!=t?(a=t._namespaceURI,p=t._tag):n._tag&&(a=n._namespaceURI,p=n._tag),(null==a||a===w.svg&&"foreignobject"===p)&&(a=w.html),a===w.html&&("svg"===this._tag?a=w.svg:"math"===this._tag&&(a=w.mathml)),this._namespaceURI=a;var d;if(e.useCreateElement){var f,h=n._ownerDocument;if(a===w.html)if("script"===this._tag){var m=h.createElement("div"),v=this._currentElement.type;m.innerHTML="<"+v+">",f=m.removeChild(m.firstChild)}else f=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else f=h.createElementNS(a,this._currentElement.type);k.precacheNode(this,f),this._flags|=F.hasCachedChildNodes,this._hostParent||E.setAttributeForRoot(f),this._updateDOMProperties(null,i,e);var y=b(f);this._createInitialChildren(e,i,r,y),d=y}else{var x=this._createOpenTagMarkupAndPutListeners(e,i),_=this._createContentMarkup(e,i,r);d=!_&&X[this._tag]?x+"/>":x+">"+_+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(l,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(u,this)}return d},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(B.hasOwnProperty(r))o&&i(this,r,o,e);else{r===G&&(o&&(o=this._previousStyleCopy=v({},t.style)),o=y.createMarkupForStyles(o,this));var a=null;null!=this._tag&&f(this._tag,t)?q.hasOwnProperty(r)||(a=E.createMarkupForCustomAttribute(r,o)):a=E.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+E.createMarkupForRoot()),n+=" "+E.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=z[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=j(i);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return $[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var i=z[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)b.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,e,n),l=0;l"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},function(e,t,n){"use strict";var r=n(15),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),"var":o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=i},function(e,t){"use strict";var n={useCreateElement:!0};e.exports=n},function(e,t,n){"use strict";var r=n(60),o=n(6),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);p.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=c.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode;for(var l=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),d=0;dt.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=u(e,o),l=u(e,i);if(s&&l){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(p),n.extend(l.node,l.offset)):(p.setEnd(l.node,l.offset),n.addRange(p))}}}var l=n(10),u=n(348),c=n(138),p=l.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:p?o:i,setOffsets:p?a:s};e.exports=d},function(e,t,n){"use strict";var r=n(3),o=n(5),i=n(60),a=n(26),s=n(6),l=n(46),u=(n(2),n(82),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(u.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",u=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,p=c.createComment(i),d=c.createComment(u),f=a(c.createDocumentFragment());return a.queueChild(f,a(p)),this._stringText&&a.queueChild(f,a(c.createTextNode(this._stringText))),a.queueChild(f,a(d)),s.precacheNode(this,p),this._closingComment=d,f}var h=l(this._stringText);return e.renderToStaticMarkup?h:""+h+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=u},function(e,t,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=l.executeOnChange(t,e);return c.asap(r,this),n}var i=n(3),a=n(5),s=n(43),l=n(65),u=n(6),c=n(16),p=(n(2),n(4),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},s.getHostProps(e,t),{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=l.getValue(t),r=n;if(null==n){var a=t.defaultValue,s=t.children;null!=s&&(null!=a?i("92"):void 0,Array.isArray(s)&&(s.length<=1?void 0:i("93"),s=s[0]),a=""+s),null==a&&(a=""),r=a}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=u.getNodeFromInstance(e),r=l.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=u.getNodeFromInstance(e);t.value=t.textContent}});e.exports=p},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:l("33"),"_hostNode"in t?void 0:l("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:l("35"),"_hostNode"in t?void 0:l("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:l("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],!1,n);for(o=0;o0;)n(l[u],!1,i)}var l=n(3);n(2),e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(5),i=n(16),a=n(34),s=n(12),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},u={initialize:s,close:i.flushBatchedUpdates.bind(i)},c=[u,l];o(r.prototype,a.Mixin,{getTransactionWrappers:function(){return c}});var p=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=d.isBatchingUpdates;d.isBatchingUpdates=!0,a?e(t,n,r,o,i):p.perform(e,null,t,n,r,o,i)}};e.exports=d},function(e,t,n){"use strict";function r(){E||(E=!0,g.EventEmitter.injectReactEventListener(v),g.EventPluginHub.injectEventPluginOrder(a),g.EventPluginUtils.injectComponentTree(p),g.EventPluginUtils.injectTreeTraversal(f),g.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:x,EnterLeaveEventPlugin:s,ChangeEventPlugin:i,SelectEventPlugin:w,BeforeInputEventPlugin:o}),g.HostComponent.injectGenericComponentClass(c),g.HostComponent.injectTextComponentClass(h),g.DOMProperty.injectDOMPropertyConfig(l),g.DOMProperty.injectDOMPropertyConfig(b),g.EmptyComponent.injectEmptyComponentFactory(function(e){return new d(e)}),g.Updates.injectReconcileTransaction(y),g.Updates.injectBatchingStrategy(m),g.Component.injectEnvironment(u))}var o=n(290),i=n(292),a=n(294),s=n(295),l=n(297),u=n(300),c=n(304),p=n(6),d=n(306),f=n(315),h=n(313),m=n(316),v=n(319),g=n(320),y=n(325),b=n(329),w=n(330),x=n(331),E=!1;e.exports={inject:r}},function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(30),i={handleTopLevel:function(e,t,n,i){var a=o.extractEvents(e,t,n,i);r(a)}};e.exports=i},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=p.getNodeFromInstance(e),n=t.parentNode;return p.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=f(e.nativeEvent),n=p.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;i/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n){return{type:d.INSERT_MARKUP,content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:d.MOVE_EXISTING,content:null,fromIndex:e._mountIndex,fromNode:f.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:d.REMOVE_NODE,content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function a(e){return{type:d.SET_MARKUP,content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:d.TEXT_CONTENT,content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function l(e,t){return t&&(e=e||[],e.push(t)),e}function u(e,t){p.processChildrenUpdates(e,t)}var c=n(3),p=n(67),d=(n(32),n(14),n(128)),f=(n(22),n(28)),h=n(299),m=(n(12),n(346)),v=(n(2),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return h.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,i){var a,s=0;return a=m(t,s),h.updateChildren(e,a,n,r,o,this,this._hostContainerInfo,i,s),a},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],l=0,u=f.mountComponent(s,t,this,this._hostContainerInfo,n,l);s._mountIndex=i++,o.push(u)}return o},updateTextContent:function(e){var t=this._renderedChildren;h.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[s(e)];u(this,r)},updateMarkup:function(e){var t=this._renderedChildren;h.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[a(e)];u(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(a||r){var s,c=null,p=0,d=0,h=0,m=null;for(s in a)if(a.hasOwnProperty(s)){var v=r&&r[s],g=a[s];v===g?(c=l(c,this.moveChild(v,m,p,d)),d=Math.max(v._mountIndex,d),v._mountIndex=p):(v&&(d=Math.max(v._mountIndex,d)),c=l(c,this._mountChildAtIndex(g,i[h],m,p,t,n)),h++),p++,m=f.getHostNode(g)}for(s in o)o.hasOwnProperty(s)&&(c=l(c,this._unmountChild(r[s],o[s])));c&&u(this,c),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;h.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex=t)return{node:o,offset:t-i};i=a}o=n(r(o))}}e.exports=o},function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e){if(s[e])return s[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in l)return s[e]=t[n];return""}var i=n(10),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},l={};i.canUseDOM&&(l=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),e.exports=o},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(3),i=n(15);n(2),e.exports=r},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(46);e.exports=r},function(e,t,n){"use strict";var r=n(127);e.exports=r.renderSubtreeIntoContainer},function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}t.__esModule=!0;var r=n();r.withExtraArgument=n,t["default"]=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(o){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(o){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(i){return this.callback(i)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var a=this._header["content-type"],s=this._serializer||y.serialize[a?a.split(";")[0]:""];!s&&l(a)&&(s=y.serialize["application/json"]),s&&(n=s(n))}for(var u in this.header)null!=this.header[u]&&this.header.hasOwnProperty(u)&&t.setRequestHeader(u,this.header[u]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send("undefined"!=typeof n?n:null),this},y.agent=function(){return new g},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach(function(e){g.prototype[e.toLowerCase()]=function(t,n){var r=new y.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}}),g.prototype.del=g.prototype["delete"],y.get=function(e,t,n){var r=y("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},y.head=function(e,t,n){var r=y("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},y.options=function(e,t,n){var r=y("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.del=p,y["delete"]=p,y.patch=function(e,t,n){var r=y("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.post=function(e,t,n){var r=y("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.put=function(e,t,n){var r=y("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){"use strict";function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(148);e.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},r.prototype.retry=function(e,t){return 0!==arguments.length&&e!==!0||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var a=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];r.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(n===!0)return!0;if(n===!1)return!1}catch(r){console.error(r)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~a.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(e,t){n.end(function(n,r){n?t(n):e(r)})})}return this._fullfilledPromise.then(e,t)},r.prototype["catch"]=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,t){if(i(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),i(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},r.prototype.withCredentials=function(e){return void 0==e&&(e=!0),this._withCredentials=e,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=i(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&i(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],"application/x-www-form-urlencoded"==n?this._data=this._data?this._data+"&"+e:e:this._data=(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)},r.prototype.sortQuery=function(e){return this._sort="undefined"==typeof e||e,this},r.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},r.prototype._appendQueryString=function(){console.trace("Unsupported")},r.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")},this._responseTimeout))}},function(e,t,n){"use strict";function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(362);e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=i.type(t);var n=i.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=i.parseLinks(e.link))}catch(o){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201==e,this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e,this.unprocessableEntity=422==e}},function(e,t){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e},{})},t.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1),o=n[1].split(/ *= */)[1].slice(1,-1);return e[o]=r,e},{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t,n){(function(e,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(364),s=o(a);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof e?e:r;var l=(0,s["default"])(i);t["default"]=l}).call(t,function(){return this}(),n(370)(e))},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t,n){function r(e){return o(e).replace(/\s(\w)/g,function(e,t){return t.toUpperCase()})}var o=n(367);e.exports=r},function(e,t){function n(e){return i.test(e)?e.toLowerCase():a.test(e)?(r(e)||e).toLowerCase():s.test(e)?o(e).toLowerCase():e.toLowerCase()}function r(e){return e.replace(l,function(e,t){return t?" "+t:""})}function o(e){return e.replace(u,function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")})}e.exports=n;var i=/\s/,a=/(_|-|\.|:)/,s=/([a-z][A-Z]|[A-Z][a-z])/,l=/[\W_]+(.|$)/g,u=/(.)([A-Z]+)/g},function(e,t,n){function r(e){return o(e).replace(/[\W_]+(.|$)/g,function(e,t){return t?" "+t:""}).trim()}var o=n(366);e.exports=r},function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r HttpUtility.HtmlDecode(t.Name)).ToArray(); - var createdBy = file.CreatedByUser(PortalSettings.PortalId); var lastModifiedBy = file.LastModifiedByUser(PortalSettings.PortalId); - var currentUserInfo = UserController.Instance.GetCurrentUserInfo(); - var userId = currentUserInfo.UserID; - return Request.CreateResponse(HttpStatusCode.OK, new { fileId = file.FileId, @@ -249,7 +224,6 @@ public HttpResponseMessage GetFileDetails(int fileId) [HttpPost] [ValidateAntiForgeryToken] - [AllowAnonymous] public HttpResponseMessage SaveFileDetails(FileDetailsRequest fileDetails) { var file = FileManager.Instance.GetFile(fileDetails.FileId); @@ -271,7 +245,6 @@ public HttpResponseMessage SaveFileDetails(FileDetailsRequest fileDetails) } [HttpGet] - [AllowAnonymous] public HttpResponseMessage GetFolderDetails(int folderId) { var folder = FolderManager.Instance.GetFolder(folderId); @@ -284,10 +257,7 @@ public HttpResponseMessage GetFolderDetails(int folderId) var createdBy = folder.CreatedByUser(PortalSettings.PortalId); var lastModifiedBy = folder.LastModifiedByUser(PortalSettings.PortalId); - - var currentUserInfo = UserController.Instance.GetCurrentUserInfo(); - var userId = currentUserInfo.UserID; - + return Request.CreateResponse(HttpStatusCode.OK, new { folderId = folder.FolderID, @@ -303,7 +273,6 @@ public HttpResponseMessage GetFolderDetails(int folderId) [HttpPost] [ValidateAntiForgeryToken] - [AllowAnonymous] public HttpResponseMessage SaveFolderDetails(FolderDetailsRequest folderDetails) { var folder = FolderManager.Instance.GetFolder(folderDetails.FolderId); @@ -324,7 +293,6 @@ public HttpResponseMessage SaveFolderDetails(FolderDetailsRequest folderDetails) } [HttpGet] - [AllowAnonymous] public HttpResponseMessage GetSortOptions() { var sortOptions = new [] diff --git a/DNN Platform/Modules/ResourceManager/Services/LocalizationController.cs b/DNN Platform/Modules/ResourceManager/Services/LocalizationController.cs index 78be7b0176c..59e63aad4cc 100644 --- a/DNN Platform/Modules/ResourceManager/Services/LocalizationController.cs +++ b/DNN Platform/Modules/ResourceManager/Services/LocalizationController.cs @@ -1,4 +1,8 @@ -using System.Net; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information + +using System.Net; using System.Net.Http; using System.Web.Http; using DotNetNuke.Web.Api; diff --git a/DNN Platform/Modules/ResourceManager/Services/RouteMapper.cs b/DNN Platform/Modules/ResourceManager/Services/RouteMapper.cs index 40352536a29..074569bb517 100644 --- a/DNN Platform/Modules/ResourceManager/Services/RouteMapper.cs +++ b/DNN Platform/Modules/ResourceManager/Services/RouteMapper.cs @@ -1,16 +1,7 @@ -/* -' Copyright (c) 2017 DNN Software, Inc. -' All rights reserved. -' -' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -' DEALINGS IN THE SOFTWARE. -' -*/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information -using System; using DotNetNuke.Web.Api; namespace Dnn.Modules.ResourceManager.Services diff --git a/DNN Platform/Modules/ResourceManager/Settings.ascx.cs b/DNN Platform/Modules/ResourceManager/Settings.ascx.cs index 74b07651af9..87a080d3288 100644 --- a/DNN Platform/Modules/ResourceManager/Settings.ascx.cs +++ b/DNN Platform/Modules/ResourceManager/Settings.ascx.cs @@ -1,14 +1,6 @@ -/* -' Copyright (c) 2017 DNN Software, Inc. -' All rights reserved. -' -' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -' DEALINGS IN THE SOFTWARE. -' -*/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information using System; using System.Linq; @@ -22,40 +14,16 @@ namespace Dnn.Modules.ResourceManager { - /// ----------------------------------------------------------------------------- - /// - /// The Settings class manages Module Settings - /// - /// Typically your settings control would be used to manage settings for your module. - /// There are two types of settings, ModuleSettings, and TabModuleSettings. - /// - /// ModuleSettings apply to all "copies" of a module on a site, no matter which page the module is on. - /// - /// TabModuleSettings apply only to the current module on the current page, if you copy that module to - /// another page the settings are not transferred. - /// - /// If you happen to save both TabModuleSettings and ModuleSettings, TabModuleSettings overrides ModuleSettings. - /// - /// Below we have some examples of how to access these settings but you will need to uncomment to use. - /// - /// Because the control inherits from ResourceManagerSettingsBase you have access to any custom properties - /// defined there, as well as properties from DNN such as PortalId, ModuleId, TabId, UserId and many more. - /// - /// ----------------------------------------------------------------------------- public partial class Settings : ModuleSettingsBase { #region Base Method Implementations - /// ----------------------------------------------------------------------------- - /// - /// LoadSettings loads the settings from the Database and displays them - /// - /// ----------------------------------------------------------------------------- public override void LoadSettings() { try { - if (Page.IsPostBack) return; + if (Page.IsPostBack) + return; var displayTypesValues = Enum.GetValues(typeof(Constants.ModuleModes)).Cast(); var displayTypes = displayTypesValues.Select(t => new ListItem(Utils.GetEnumDescription(t), ((int)t).ToString())).ToArray(); @@ -69,8 +37,7 @@ public override void LoadSettings() IFolderInfo homeFolder = null; if (Settings.Contains(Constants.HomeFolderSettingName)) { - int homeFolderId; - int.TryParse(Settings[Constants.HomeFolderSettingName].ToString(), out homeFolderId); + int.TryParse(Settings[Constants.HomeFolderSettingName].ToString(), out var homeFolderId); homeFolder = FolderManager.Instance.GetFolder(homeFolderId); } @@ -87,11 +54,6 @@ public override void LoadSettings() } } - /// ----------------------------------------------------------------------------- - /// - /// UpdateSettings saves the modified settings to the Database - /// - /// ----------------------------------------------------------------------------- public override void UpdateSettings() { try diff --git a/DNN Platform/Modules/ResourceManager/View.ascx.cs b/DNN Platform/Modules/ResourceManager/View.ascx.cs index 85013b9facb..c243e093323 100644 --- a/DNN Platform/Modules/ResourceManager/View.ascx.cs +++ b/DNN Platform/Modules/ResourceManager/View.ascx.cs @@ -1,14 +1,6 @@ -/* -' Copyright (c) 2017 DNN Software, Inc. -' All rights reserved. -' -' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -' DEALINGS IN THE SOFTWARE. -' -*/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information using System; using DotNetNuke.Entities.Modules; @@ -24,19 +16,6 @@ namespace Dnn.Modules.ResourceManager { - /// ----------------------------------------------------------------------------- - /// - /// The View class displays the content - /// - /// Typically your view control would be used to display content or functionality in your module. - /// - /// View may be the only control you have in your project depending on the complexity of your module - /// - /// Because the control inherits from ResourceManagerModuleBase you have access to any custom properties - /// defined there, as well as properties from DNN such as PortalId, ModuleId, TabId, UserId and many more. - /// - /// - /// ----------------------------------------------------------------------------- public partial class View : PortalModuleBase { private readonly string _bundleJsPath; @@ -48,8 +27,7 @@ private int? FolderId { if (!_folderId.HasValue) { - int id; - if (int.TryParse(Request.QueryString["folderId"], out id)) + if (int.TryParse(Request.QueryString["folderId"], out var id)) { _folderId = id; } @@ -63,8 +41,7 @@ public int GroupId { if (_gid.HasValue) return _gid.Value; - int id; - if (!int.TryParse(Request.QueryString["groupid"], out id)) + if (!int.TryParse(Request.QueryString["groupid"], out var id)) id = Null.NullInteger; _gid = id; return _gid.Value; diff --git a/SolutionInfo.cs b/SolutionInfo.cs index c70651aeaf6..b49f065b116 100644 --- a/SolutionInfo.cs +++ b/SolutionInfo.cs @@ -1,13 +1,10 @@ -// -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the MIT License. See LICENSE file in the project root for full license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information // -#region Usings using System.Reflection; -#endregion - // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly.