diff --git a/ArkBot/ArkBot.csproj b/ArkBot/ArkBot.csproj index b6a63ac..b4f64e7 100644 --- a/ArkBot/ArkBot.csproj +++ b/ArkBot/ArkBot.csproj @@ -571,6 +571,7 @@ + @@ -868,7 +869,7 @@ PreserveNewest - PreserveNewest + PreserveNewest PreserveNewest diff --git a/ArkBot/Configuration/Model/AccessControlConfigSection.cs b/ArkBot/Configuration/Model/AccessControlConfigSection.cs index efe27aa..f5866f8 100644 --- a/ArkBot/Configuration/Model/AccessControlConfigSection.cs +++ b/ArkBot/Configuration/Model/AccessControlConfigSection.cs @@ -26,5 +26,23 @@ namespace ArkBot.Configuration.Model public class AccessControlConfigSection : Dictionary { public override string ToString() => "Access Control"; + + /// + /// Default settings for + /// + internal void SetupConfigDefaults() + { + GetOrAddNewWithPostAction("pages", (x) => x.SetupDefaults(new[] { "home", "server", "player", "admin-server" })); + GetOrAddNewWithPostAction("home", (x) => x.SetupDefaults(new[] { "myprofile", "serverlist", "serverdetails", "online", "externalresources" })); + GetOrAddNewWithPostAction("server", (x) => x.SetupDefaults(new[] { "players", "tribes", "wildcreatures", "wildcreatures-coords", "wildcreatures-basestats", "wildcreatures-ids", "wildcreatures-statistics" })); + GetOrAddNewWithPostAction("player", (x) => x.SetupDefaults(new[] { "profile", "profile-detailed", "creatures", "creatures-basestats", "creatures-ids", "creatures-cloud", "breeding", "crops", "generators", "kibbles-eggs", "tribelog" })); + GetOrAddNewWithPostAction("admin-server", (x) => x.SetupDefaults(new[] { "players", "tribes", "structures", "fertilized-eggs", "structures-rcon" })); + } + + private void GetOrAddNewWithPostAction(string key, Action postAction) + { + if (!TryGetValue(key, out var fg)) Add(key, fg = new AccessControlFeatureGroup()); + postAction(fg); + } } } diff --git a/ArkBot/Configuration/Model/AccessControlFeatureGroup.cs b/ArkBot/Configuration/Model/AccessControlFeatureGroup.cs index 9a0328e..0f0ce10 100644 --- a/ArkBot/Configuration/Model/AccessControlFeatureGroup.cs +++ b/ArkBot/Configuration/Model/AccessControlFeatureGroup.cs @@ -25,5 +25,11 @@ namespace ArkBot.Configuration.Model public class AccessControlFeatureGroup : Dictionary { public override string ToString() => "Group"; + + internal void SetupDefaults(string[] keys) + { + foreach (var key in keys) + if (!ContainsKey(key)) Add(key, new AccessControlFeatureRoles(new[] { "" })); + } } } diff --git a/ArkBot/Configuration/Model/AccessControlFeatureRoles.cs b/ArkBot/Configuration/Model/AccessControlFeatureRoles.cs index 2e0c0e5..9bebfaa 100644 --- a/ArkBot/Configuration/Model/AccessControlFeatureRoles.cs +++ b/ArkBot/Configuration/Model/AccessControlFeatureRoles.cs @@ -22,5 +22,8 @@ namespace ArkBot.Configuration.Model [InjectValidation] public class AccessControlFeatureRoles : List { + public AccessControlFeatureRoles() { } + + public AccessControlFeatureRoles(string[] roles) => AddRange(roles); } } diff --git a/ArkBot/Configuration/Model/Config.cs b/ArkBot/Configuration/Model/Config.cs index 84ad99d..c045e75 100644 --- a/ArkBot/Configuration/Model/Config.cs +++ b/ArkBot/Configuration/Model/Config.cs @@ -37,11 +37,17 @@ public Config() WebAppRedirectListenPrefix = new string[] { }; AccessControl = new AccessControlConfigSection(); Discord = new DiscordConfigSection(); + WebApp = new WebAppConfigSection(); Backups = new BackupsConfigSection(); //Test = new Test1ConfigSection(); } + public void SetupDefaults() + { + AccessControl.SetupConfigDefaults(); + } + // Required [JsonProperty(PropertyName = "steamApiKey")] @@ -111,15 +117,15 @@ public Config() [ValidUrl(Optional = true, ErrorMessage = "{0} is not a valid URL")] public string AppUrl { get; set; } - [JsonProperty(PropertyName = "arkMultipliers")] - [Display(Name = "ARK Multipliers", Description = "Server specific multipliers")] - [ConfigurationHelp(remarks: new[] { "ARK configuration multipliers used on your servers and required for accurate calculations throughout the application." })] + [JsonProperty(PropertyName = "webApp")] + [Display(Name = "Web App", Description = "Settings specific to the Web App feature")] + [ConfigurationHelp(remarks: new[] { "The Web App aims to provide important functions to players: dino listings, food-status, breeding info, statistics; and server admins: rcon-commands, server managing etc." })] [Category(ConfigurationCategory.Optional)] [PropertyOrder(3)] [ExpandableObject] [Required(ErrorMessage = "{0} is not set")] [ValidateExpandable(ErrorMessage = "{0} contain field(s) that are invalid")] - public ArkMultipliersConfigSection ArkMultipliers { get; set; } + public WebAppConfigSection WebApp { get; set; } [JsonProperty(PropertyName = "discord")] [Display(Name = "Discord", Description = "Discord bot settings")] @@ -131,11 +137,21 @@ public Config() [ValidateExpandable(ErrorMessage = "{0} contain field(s) that are invalid")] public DiscordConfigSection Discord { get; set; } + [JsonProperty(PropertyName = "arkMultipliers")] + [Display(Name = "ARK Multipliers", Description = "Server specific multipliers")] + [ConfigurationHelp(remarks: new[] { "ARK configuration multipliers used on your servers and required for accurate calculations throughout the application." })] + [Category(ConfigurationCategory.Optional)] + [PropertyOrder(5)] + [ExpandableObject] + [Required(ErrorMessage = "{0} is not set")] + [ValidateExpandable(ErrorMessage = "{0} contain field(s) that are invalid")] + public ArkMultipliersConfigSection ArkMultipliers { get; set; } + [JsonProperty(PropertyName = "userRoles")] [Display(Name = "User Roles", Description = "Explicit steam user role assignment")] [ConfigurationHelp(remarks: new[] { "Multiple roles can be configured and each contains a list of steam ids who belong to that role. Roles are used in Companion App (Web App) access control to grant access to specific pages/features." })] [Category(ConfigurationCategory.Optional)] - [PropertyOrder(5)] + [PropertyOrder(6)] [Editor(typeof(CustomCollectionEditor), typeof(CustomCollectionEditor))] [Required(ErrorMessage = "{0} is not set")] [ValidateCollection(ErrorMessage = "{0} contains item(s) that are invalid")] @@ -145,7 +161,7 @@ public Config() [Display(Name = "Access Control", Description = "Per-feature role based access control configuration")] [ConfigurationHelp(remarks: new[] { "Contain a predefined set of pages/features to grant access to. Each page/feature contains a list of roles that have access to that particular resource. Roles are connected to steam users in the User Roles setting." })] [Category(ConfigurationCategory.Optional)] - [PropertyOrder(6)] + [PropertyOrder(7)] [Required(ErrorMessage = "{0} is not set")] public AccessControlConfigSection AccessControl { get; set; } @@ -153,7 +169,7 @@ public Config() [Display(Name = "Backups", Description = "Savegame backups")] [ConfigurationHelp(remarks: new[] { "Settings specific to the savegame backup feature which optionally can be configured to take backups each time a savegame change is detected." })] [Category(ConfigurationCategory.Optional)] - [PropertyOrder(7)] + [PropertyOrder(8)] [ExpandableObject] [Required(ErrorMessage = "{0} is not set")] [ValidateExpandable(ErrorMessage = "{0} contain field(s) that are invalid")] @@ -163,7 +179,7 @@ public Config() [Display(Name = "Web App Redirect Listen Prefix(es)", Description = "Http listen prefix(es) that are redirected to BotUrl")] [ConfigurationHelp(remarks: new[] { "Used to redirect alternate URLs to the actual Companion App (Web App) URL. Typically used to redirect HTTP requests to a secure HTTPS connection when SSL is enabled." }, Example = "http://+:80/")] [Category(ConfigurationCategory.Optional)] - [PropertyOrder(8)] + [PropertyOrder(9)] //todo: validate this listen prefix public string[] WebAppRedirectListenPrefix { get; set; } @@ -172,7 +188,7 @@ public Config() [DefaultValue(@"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe")] [ConfigurationHelp(remarks: new[] { "This is the path to the PowerShell executable on your system. It is used when `Use Powershell Output Redirect` is configured for a server instance to relay SteamCmd status back to ARK Bot." })] [Category(ConfigurationCategory.Optional)] - [PropertyOrder(9)] + [PropertyOrder(10)] [Editor(typeof(OpenFilePathEditor), typeof(OpenFilePathEditor))] [OpenFilePathEditor(Filter = "Executable files (*.exe)|*.exe|All files (*.*)|*.*")] [FileExists(ErrorMessage = "{0} is not set or the file path does not exist")] @@ -187,7 +203,7 @@ public Config() "For the SSL-certificate to be issued you need to prove that you control the domain name; the domain must be pointed to your public IP and port 80 must be open externally and available for the bot to bind locally.\r\n" })] [Category(ConfigurationCategory.Optional)] - [PropertyOrder(10)] + [PropertyOrder(11)] [ExpandableObject] [Required(ErrorMessage = "{0} is not set")] [ValidateExpandable(ErrorMessage = "{0} contain field(s) that are invalid")] @@ -203,7 +219,7 @@ public Config() "[Learn more about listen prefixes](https://msdn.microsoft.com/en-us/library/windows/desktop/aa364698(v=vs.85).aspx)\r\n" })] [Category(ConfigurationCategory.Optional)] - [PropertyOrder(11)] + [PropertyOrder(12)] [MinLength(1, ErrorMessage = "{0} is not set")] //todo: validate this listen prefix [RegularExpressionCustom(@"^https://.*", IfMethod = nameof(IsSslEnabled), ErrorMessage = "{0} should be `https` when SSL is enabled")] @@ -221,7 +237,7 @@ public Config() "[Learn more about listen prefixes](https://msdn.microsoft.com/en-us/library/windows/desktop/aa364698(v=vs.85).aspx)\r\n" })] [Category(ConfigurationCategory.Optional)] - [PropertyOrder(12)] + [PropertyOrder(13)] [MinLength(1, ErrorMessage = "{0} is not set")] //todo: validate this listen prefix [RegularExpressionCustom(@"^https://.*", IfMethod = nameof(IsSslEnabled), ErrorMessage = "{0} should be `https` when SSL is enabled")] @@ -232,11 +248,19 @@ public Config() [Display(Name = "Temporary Files Directory", Description = "An existing directory path where temporary binary files can be stored (zip-files etc.)")] [DefaultValue("%TEMP%\\ArkBot")] [Category(ConfigurationCategory.Optional)] - [PropertyOrder(13)] + [PropertyOrder(14)] [Editor(typeof(DirectoryPathEditor), typeof(DirectoryPathEditor))] [DirectoryPathIsValid(ErrorMessage = "{0} is not set or the directory path is not valid")] public string TempFileOutputDirPath { get; set; } + [JsonProperty(PropertyName = "hideUiOnStartup")] + [Display(Name = "Hide Ui On Startup", Description = "Hides the user interface on program startup")] + [DefaultValue(false)] + [ConfigurationHelp(remarks: new[] { "Allows hiding the user interface on program startup. The program can be accessed from the system tray icon." })] + [Category(ConfigurationCategory.Optional)] + [PropertyOrder(15)] + public bool HideUiOnStartup { get; set; } + // Optional Advanced @@ -272,15 +296,6 @@ public Config() [PropertyOrder(1)] public bool AnonymizeWebApiData { get; set; } - - [JsonProperty(PropertyName = "hideUiOnStartup")] - [Display(Name = "Hide Ui On Startup", Description = "Hides the user interface on program startup")] - [DefaultValue(false)] - [ConfigurationHelp(remarks: new[] { "Allows hiding the user interface on program startup. The program can be accessed from the system tray icon." })] - [Category(ConfigurationCategory.Optional)] - [PropertyOrder(14)] - public bool HideUiOnStartup { get; set; } - //[JsonProperty(PropertyName = "test")] //[Display(Name = "Test", Description = "Test")] //[Category(ConfigurationCategory.Debug)] diff --git a/ArkBot/Configuration/Model/IConfig.cs b/ArkBot/Configuration/Model/IConfig.cs index 1f4ee78..9cd0be1 100644 --- a/ArkBot/Configuration/Model/IConfig.cs +++ b/ArkBot/Configuration/Model/IConfig.cs @@ -6,12 +6,15 @@ namespace ArkBot.Configuration.Model { public interface IConfig { + void SetupDefaults(); + ArkMultipliersConfigSection ArkMultipliers { get; set; } string BotName { get; set; } string BotUrl { get; set; } string AppUrl { get; set; } string SteamApiKey { get; set; } string TempFileOutputDirPath { get; set; } + WebAppConfigSection WebApp { get; set; } DiscordConfigSection Discord { get; set; } UserRolesConfigSection UserRoles { get; set; } AccessControlConfigSection AccessControl { get; set; } diff --git a/ArkBot/Configuration/Model/WebAppConfigSection.cs b/ArkBot/Configuration/Model/WebAppConfigSection.cs new file mode 100644 index 0000000..2c6f932 --- /dev/null +++ b/ArkBot/Configuration/Model/WebAppConfigSection.cs @@ -0,0 +1,44 @@ +using Newtonsoft.Json; +using System; +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ArkBot.Configuration; +using ArkBot.Configuration.Validation; +using Discord; +using Microsoft.IdentityModel; +using PropertyChanged; +using Validar; +using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; +using Xceed.Wpf.Toolkit.PropertyGrid.Editors; + +namespace ArkBot.Configuration.Model +{ + public enum WebAppTheme { Dark = 0, Light = 1 }; + + public class WebAppConfigSection + { + public WebAppConfigSection() + { + } + + public override string ToString() => $"Web App"; + + [JsonProperty(PropertyName = "defaultTheme")] + [Display(Name = "Default Theme", Description = "Default theme to use in the Web App")] + public WebAppTheme DefaultTheme { get; set; } = WebAppTheme.Dark; + + [JsonProperty(PropertyName = "tribeLogLimit")] + [Display(Name = "Tribe Log Limit", Description = "Limit for how many tribe logs are displayed in the Web App")] + [RangeOptional(1, 1000, Optional = false, ErrorMessage = "{0} must be between 1-1000")] + public int TribeLogLimit { get; set; } = 100; + + [JsonProperty(PropertyName = "tribeLogColors")] + [Display(Name = "Tribe Log Colors", Description = "Enable colored tribe log entries in the Web App")] + public bool TribeLogColors { get; set; } = false; + } +} diff --git a/ArkBot/Data/TribeLog.cs b/ArkBot/Data/TribeLog.cs index 9e2f0b7..158766b 100644 --- a/ArkBot/Data/TribeLog.cs +++ b/ArkBot/Data/TribeLog.cs @@ -12,12 +12,29 @@ public class TribeLog public int Day { get; set; } public TimeSpan Time { get; set; } public string Message { get; set; } + public string MessageHtml + { + get + { + return _rHtmlColors.Replace(Message, (m) => + { + if (!float.TryParse(m.Groups["r"]?.Value, out float r)) r = 0; + if (!float.TryParse(m.Groups["g"]?.Value, out float g)) g = 0; + if (!float.TryParse(m.Groups["b"]?.Value, out float b)) b = 0; + if (!float.TryParse(m.Groups["a"]?.Value, out float a)) a = 0; + + var f = (msg: m.Groups["msg"].Value.TrimEnd('!'), r: (int)Math.Round(r * 100), g: (int)Math.Round(g * 100), b: (int)Math.Round(b * 100), a: a); + return $@"{f.msg}"; + }); + } + } public string MessageUnformatted { get { return _rRemoveColors.Replace(Message, "").TrimEnd('!'); } } public string Raw { get; set; } private static Regex _rParseLog = new Regex(@"^Day\s+(?\d+),\s+(?\d{2,2})\:(?\d{2,2})\:(?\d{2,2})\:\s+(?.+)$", RegexOptions.Singleline | RegexOptions.IgnoreCase); - private static Regex _rRemoveColors = new Regex(@"((\)|(\<\/\>))", RegexOptions.Singleline | RegexOptions.IgnoreCase); + private static Regex _rHtmlColors = new Regex(@"\[\d\.]+),\s*(?[\d\.]+),\s*(?[\d\.]+),\s*(?[\d\.]+)\""\>(?.+?)\<\/\>", RegexOptions.Singleline | RegexOptions.IgnoreCase); + private static Regex _rRemoveColors = new Regex(@"((\)|(\<\/\>))", RegexOptions.Singleline | RegexOptions.IgnoreCase); public string ToStringPretty() { @@ -65,6 +82,7 @@ public class TameWasKilledTribeLog : TribeLog //"Day 12412, 19:59:51: Your Giganotosaurus - Lvl 65 (Giganotosaurus) was killed!", //"Day 12411, 04:31:59: Your Argentavis B1 - Lvl 178 (Argentavis) was killed by a Megalodon - Lvl 72!", //"Day 12437, 02:52:26: Tribemember Tobbe - Lvl 93 was killed by a Raptor - Lvl 56!", //we do not parse this + //"Day 12437, 02:52:26: HaYoon uploaded a Daeodon: Boss 84k - Lvl 256" try { diff --git a/ArkBot/MainWindow.xaml b/ArkBot/MainWindow.xaml index bf96da6..4d254db 100644 --- a/ArkBot/MainWindow.xaml +++ b/ArkBot/MainWindow.xaml @@ -38,10 +38,13 @@ + + + '),this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&v()?void(this.getInertBodyElement=this.getInertBodyElement_DOMParser):void(this.getInertBodyElement=this.getInertBodyElement_InertDocument))}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(t){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(null);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.DOM.createElement("template");return"content"in e?(this.DOM.setInnerHTML(e,t),e):(this.DOM.setInnerHTML(this.inertBodyElement,t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){var e=this;this.DOM.attributeMap(t).forEach(function(n,r){"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.DOM.removeAttribute(t,r)});for(var n=0,r=this.DOM.childNodesAsList(t);n")},t.prototype.endElement=function(t){var e=this.DOM.nodeName(t).toLowerCase();jt.hasOwnProperty(e)&&!Pt.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(S(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&this.DOM.contains(t,e))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(t));return e},t}(),zt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bt=/([^\#-~ |!])/g,qt="[-,.\"'%_!# a-zA-Z0-9]+",Jt="(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?",Gt="(?:rgb|hsl)a?",Qt="(?:repeating-)?(?:linear|radial)-gradient",Kt="(?:calc|attr)",Zt="\\([-0-9.%, #a-zA-Z]+\\)",Xt=new RegExp("^("+qt+"|(?:"+Jt+"|"+Gt+"|"+Qt+"|"+Kt+")"+Zt+")$","g"),$t=/^url\(([^)]+)\)$/,te=function(){function t(){}return t.prototype.sanitize=function(t,e){},t.prototype.bypassSecurityTrustHtml=function(t){},t.prototype.bypassSecurityTrustStyle=function(t){},t.prototype.bypassSecurityTrustScript=function(t){},t.prototype.bypassSecurityTrustUrl=function(t){},t.prototype.bypassSecurityTrustResourceUrl=function(t){},t}(),ee=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return P.a(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case Y.SecurityContext.NONE:return e;case Y.SecurityContext.HTML:return e instanceof re?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),T(this._doc,String(e)));case Y.SecurityContext.STYLE:return e instanceof ie?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),E(e));case Y.SecurityContext.SCRIPT:if(e instanceof oe)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case Y.SecurityContext.URL:return e instanceof ae||e instanceof se?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),g(String(e)));case Y.SecurityContext.RESOURCE_URL:if(e instanceof ae)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof ne)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new re(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new ie(t)},e.prototype.bypassSecurityTrustScript=function(t){return new oe(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new se(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new ae(t)},e}(te);ee.decorators=[{type:Y.Injectable}],ee.ctorParameters=function(){return[{type:void 0,decorators:[{type:Y.Inject,args:[q]}]}]};var ne=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.getTypeName=function(){},t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P.a(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(ne),ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P.a(e,t),e.prototype.getTypeName=function(){return"Style"},e}(ne),oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P.a(e,t),e.prototype.getTypeName=function(){return"Script"},e}(ne),se=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P.a(e,t),e.prototype.getTypeName=function(){return"URL"},e}(ne),ae=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P.a(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ne),ue=[{provide:Y.PLATFORM_ID,useValue:A["ɵPLATFORM_BROWSER_ID"]},{provide:Y.PLATFORM_INITIALIZER,useValue:C,multi:!0},{provide:A.PlatformLocation,useClass:J},{provide:q,useFactory:k,deps:[]}],ce=[{provide:Y.Sanitizer,useExisting:te},{provide:te,useClass:ee}],le=n.i(Y.createPlatformFactory)(Y.platformCore,"browser",ue),pe=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:Y.APP_ID,useValue:e.appId},{provide:Q,useExisting:Y.APP_ID},K]}},t}();pe.decorators=[{type:Y.NgModule,args:[{providers:[ce,{provide:Y.ErrorHandler,useFactory:L,deps:[]},{provide:ot,useClass:bt,multi:!0},{provide:ot,useClass:Ct,multi:!0},{provide:ot,useClass:Tt,multi:!0},{provide:Mt,useClass:St},mt,{provide:Y.RendererFactory2,useExisting:mt},{provide:ut,useExisting:ct},ct,Y.Testability,st,it,G,X],exports:[A.CommonModule,Y.ApplicationModule]}]}],pe.ctorParameters=function(){return[{type:pe,decorators:[{type:Y.Optional},{type:Y.SkipSelf}]}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var he="undefined"!=typeof window&&window||{},fe=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}(),de=function(){function t(t){this.appRef=t.injector.get(Y.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n="Change Detection",i=null!=he.console.profile;e&&i&&he.console.profile(n);for(var o=r().performanceNow(),s=0;s<5||r().performanceNow()-o<500;)this.appRef.tick(),s++;var a=r().performanceNow();e&&i&&he.console.profileEnd(n);var u=(a-o)/s;return he.console.log("ran "+s+" change detection cycles"),he.console.log(u.toFixed(2)+" ms per check"),new fe(u,s)},t}(),me="profiler",ye=function(){function t(){}return t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&r().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),_e=new Y.Version("4.4.7")},Qc1E:function(t,e,n){"use strict";e.a=function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}},QpMZ:function(t,e,n){"use strict";var r=n("vOiT");n.i(r.a)("application/xml",function(t){var e=t.responseXML;if(!e)throw new Error("parse error");return e})},QpTy:function(t,e,n){"use strict";n("xAXX"),n("K0ou")},QqRK:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("mmVS"),o=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(i.Subscriber);e.InnerSubscriber=o},QsbW:function(t,e,n){"use strict";var r=n("pqdd");e.a=function(){return n.i(r.a)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},Qt4r:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("fWbP"),s=function(t){return t},a=function(t){function e(e,n,r,i,o){t.call(this),this.initialState=e,this.condition=n,this.iterate=r,this.resultSelector=i,this.scheduler=o}return r(e,t),e.create=function(t,n,r,i,a){return 1==arguments.length?new e(t.initialState,t.condition,t.iterate,t.resultSelector||s,t.scheduler):void 0===i||o.isScheduler(i)?new e(t,n,r,s,i):new e(t,n,r,i,a)},e.prototype._subscribe=function(t){var n=this.initialState;if(this.scheduler)return this.scheduler.schedule(e.dispatch,0,{subscriber:t,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:n});for(var r=this,i=r.condition,o=r.resultSelector,s=r.iterate;;){if(i){var a=void 0;try{a=i(n)}catch(e){return void t.error(e)}if(!a){t.complete();break}}var u=void 0;try{u=o(n)}catch(e){return void t.error(e)}if(t.next(u),t.closed)break;try{n=s(n)}catch(e){return void t.error(e)}}},e.dispatch=function(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var r=void 0;try{r=n(t.state)}catch(t){return void e.error(t)}if(!r)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}},e}(i.Observable);e.GenerateObservable=a},"R/UR":function(t,e,n){"use strict";n("kW7t"),n("RG/h")},RA5l:function(t,e,n){"use strict";var r=n("PutI"),i=n("C0+T");e.queue=new i.QueueScheduler(r.QueueAction)},"RG/h":function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o});var r=Array.prototype,i=r.map,o=r.slice},"RJ4+":function(t,e,n){"use strict";function r(t){return void 0===t&&(t=null),i.defaultIfEmpty(t)(this)}var i=n("+Zxz");e.defaultIfEmpty=r},RKIe:function(t,e,n){"use strict"},RQB5:function(t,e,n){"use strict"},RRVv:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.done,n=t.value,r=t.subscriber;if(e)return void r.complete();r.next(n),r.closed||(t.done=!0,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.value,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t});t.next(n),t.closed||t.complete()},e}(i.Observable);e.ScalarObservable=o},RSMh:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("CURp"),s=n("wAkD"),a=function(t){function e(e,n){t.call(this),this.resourceFactory=e,this.observableFactory=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e,n=this,r=n.resourceFactory,i=n.observableFactory;try{return e=r(),new u(t,e,i)}catch(e){t.error(e)}},e}(i.Observable);e.UsingObservable=a;var u=function(t){function e(e,n,r){t.call(this,e),this.resource=n,this.observableFactory=r,e.add(n),this.tryUse()}return r(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(o.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(s.OuterSubscriber)},RU1a:function(t,e,n){"use strict";function r(t){return function(e){return e.lift(new a(t))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.takeUntil=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.notifier))},t}(),u=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(s.subscribeToResult(this,n))}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.complete()},e.prototype.notifyComplete=function(){},e}(o.OuterSubscriber)},RWC2:function(t,e,n){"use strict";n("7rLc"),n("9j4o"),n("8cY+"),n("4OJz"),n("hG+S"),n("x5iO")},RYQg:function(t,e,n){"use strict";function r(){for(var t=[],e=0;ethis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),y=function(t){function e(e,n,r){t.call(this,e),this.parent=n,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[p.iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return l.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},Sqj9:function(t,e,n){"use strict";n("kW7t"),n("e4Ju")},SudU:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),i.subscribeOn(t,e)(this)}var i=n("niWE");e.subscribeOn=r},T3fU:function(t,e,n){"use strict";var r=n("rCTf"),i=n("q+cp");r.Observable.prototype.takeUntil=i.takeUntil},THCe:function(t,e,n){"use strict";var r=n("a4aQ");e.a=function(t){var e,n=[],i=[];for(this._root&&n.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();){var o=e.node;if(o.length){var s,a=e.x0,u=e.y0,c=e.x1,l=e.y1,p=(a+c)/2,h=(u+l)/2;(s=o[0])&&n.push(new r.a(s,a,u,p,h)),(s=o[1])&&n.push(new r.a(s,p,u,c,h)),(s=o[2])&&n.push(new r.a(s,a,h,p,l)),(s=o[3])&&n.push(new r.a(s,p,h,c,l))}i.push(e)}for(;e=i.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this}},"TIy+":function(t,e,n){"use strict";var r=n("/J7H");e.fromEvent=r.FromEventObservable.create},TL2s:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("kcyo"),o=n("cwzr"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=i.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(i.Immediate.clearImmediate(n),e.scheduled=void 0)},e}(o.AsyncAction);e.AsapAction=s},TLKQ:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})})},Tqun:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})})},TyL3:function(t,e,n){"use strict";function r(t,e,n,s){function a(e){return t(e=new Date(+e)),e}return a.floor=a,a.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},a.round=function(t){var e=a(t),n=a.ceil(t);return t-e0))return s;do{s.push(o=new Date(+n)),e(n,i),t(n)}while(o=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(a.count=function(e,r){return i.setTime(+e),o.setTime(+r),t(i),t(o),Math.floor(n(i,o))},a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?a.filter(s?function(e){return s(e)%t==0}:function(e){return a.count(0,e)%t==0}):a:null}),a}e.a=r;var i=new Date,o=new Date},U15Z:function(t,e,n){"use strict";function r(t){var e=t[l.iterator];if(!e&&"string"==typeof t)return new h(t);if(!e&&void 0!==t.length)return new f(t);if(!e)throw new TypeError("object is not iterable");return t[l.iterator]()}function i(t){var e=+t.length;return isNaN(e)?0:0!==e&&o(e)?(e=s(e)*Math.floor(Math.abs(e)),e<=0?0:e>d?d:e):e}function o(t){return"number"==typeof t&&u.root.isFinite(t)}function s(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n("VOfZ"),c=n("rCTf"),l=n("cdmN"),p=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=r(e)}return a(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,i=t.subscriber;if(n)return void i.error(t.error);var o=r.next();return o.done?void i.complete():(i.next(o.value),t.index=e+1,i.closed?void("function"==typeof r.return&&r.return()):void this.schedule(t))},e.prototype._subscribe=function(t){var n=this,r=n.iterator,i=n.scheduler;if(i)return i.schedule(e.dispatch,0,{index:0,iterator:r,subscriber:t});for(;;){var o=r.next();if(o.done){t.complete();break}if(t.next(o.value),t.closed){"function"==typeof r.return&&r.return();break}}},e}(c.Observable);e.IteratorObservable=p;var h=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[l.iterator]=function(){return this},t.prototype.next=function(){return this.idx=2&&(n=!0),function(r){return r.lift(new s(t,e,n))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.scan=r;var s=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))},t}(),a=function(t){function e(e,n,r,i){t.call(this,e),this.accumulator=n,this._seed=r,this.hasSeed=i,this.index=0}return i(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(o.Subscriber)},UcH0:function(t,e,n){"use strict";function r(t,e){var r=n.i(i.c)(e),o=n.i(i.c)(t)*r;return[r*n.i(i.d)(t)/o,n.i(i.d)(e)/o]}var i=n("te0Z"),o=n("3OHQ");n("Yh3o");r.invert=n.i(o.a)(i.l)},Uk0N:function(t,e,n){"use strict";function r(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=i(t);e&&r.push(e)}),r}function i(t){if(":"!=t[0])return[null,t];var e=t.indexOf(":",1);if(-1==e)throw new Error('Unsupported format "'+t+'" expecting ":namespace:name"');return[t.slice(1,e),t.slice(e+1)]}function o(t){return"ng-container"===i(t)[1]}function s(t){return"ng-content"===i(t)[1]}function a(t){return"ng-template"===i(t)[1]}function u(t){return null===t?null:i(t)[0]}function c(t,e){return t?":"+t+":"+e:e}function l(t){return Si[t.toLowerCase()]||Ti}function p(t){return t.replace(Oi,function(){for(var t=[],e=0;e=55296&&r<=56319&&t.length>n+1){var i=t.charCodeAt(n+1);i>=56320&&i<=57343&&(n++,r=(r-55296<<10)+i-56320+65536)}r<=127?e+=String.fromCharCode(r):r<=2047?e+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?e+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(e+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return e}function M(t){return t.replace(/\W/g,"_")}function S(t){if(!t||!t.reference)return null;var e=t.reference;if(e instanceof _i)return e.name;if(e.__anonymousType)return e.__anonymousType;var r=n.i(ti["ɵstringify"])(e);return r.indexOf("(")>=0?(r="anonymous_"+ji++,e.__anonymousType=r):r=M(r),r}function T(t){var e=t.reference;return e instanceof _i?e.filePath:"./"+n.i(ti["ɵstringify"])(e)}function x(t,e){return"View_"+S({reference:t})+"_"+e}function E(t){return"RenderType_"+S({reference:t})}function C(t){return"HostView_"+S({reference:t})}function L(t){return S({reference:t})+"NgFactory"}function k(t){return null!=t.value?M(t.value):S(t.identifier)}function D(t){return null!=t.identifier?t.identifier.reference:t.value}function O(t,e,n){var r=Ei.parse(e.selector)[0].getMatchingElementTemplate();return Ui.create({isHost:!0,type:{reference:t,diDeps:[],lifecycleHooks:[]},template:new Vi({encapsulation:ti.ViewEncapsulation.None,template:r,templateUrl:"",styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:ti.ChangeDetectionStrategy.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],viewQueries:[],componentViewType:n,rendererType:{id:"__Host__",encapsulation:ti.ViewEncapsulation.None,styles:[],data:{}},entryComponents:[],componentFactory:null})}function P(t){return t||[]}function A(t){return t.reduce(function(t,e){var n=Array.isArray(e)?A(e):e;return t.concat(n)},[])}function Y(t){return t.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function N(t,e,n){var r;return r=n.isInline?e.type.reference instanceof _i?e.type.reference.filePath+"."+e.type.reference.name+".html":S(t)+"/"+S(e.type)+".html":n.templateUrl,Y(r)}function I(t,e){var n=t.moduleUrl.split(/\/\\/g);return Y("css/"+e+n[n.length-1]+".ngstyle.js")}function R(t){return Y(S(t.type)+"/module.ngfactory.js")}function j(t,e){return Y(S(t)+"/"+S(e.type)+".ngfactory.js")}function H(t,e){return void 0===e&&(e=!0),null===t?e:t}function F(t){return t>=xo&&t<=Do||t==Ss}function V(t){return Xo<=t&&t<=$o}function U(t){return t>=ls&&t<=gs||t>=ts&&t<=is}function W(t){return t>=ls&&t<=hs||t>=ts&&t<=ns||V(t)}function z(){return function(t){return t}}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function B(t,e){if(n.i(ti.isDevMode)()&&null!=e){if(!Array.isArray(e))throw new Error("Expected '"+t+"' to be an array of strings.");for(var r=0;r;" or "&#x;" syntax'}function dt(t){return!F(t)||t===To}function mt(t){return F(t)||t===Ko||t===Bo||t===Ro||t===Po||t===Qo}function yt(t){return(t$o)}function _t(t){return t==Jo||t==To||!W(t)}function vt(t){return t==Jo||t==To||!U(t)}function gt(t,e,n){var r=!!n&&t.indexOf(n.start,e)==e;return t.charCodeAt(e)==bs&&!r}function bt(t){return t===Qo||U(t)||V(t)}function wt(t,e){return Mt(t)==Mt(e)}function Mt(t){return t>=ls&&t<=gs?t-ls+ts:t}function St(t){for(var e=[],n=void 0,r=0;r0&&t[t.length-1]===e}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function xt(t){return t.id||Lt(Ct(t.nodes).join("")+"["+t.meaning+"]")}function Et(t){if(t.id)return t.id;var e=new ca;return Ot(t.nodes.map(function(t){return t.visit(e,null)}).join(""),t.meaning)}function Ct(t){return t.map(function(t){return t.visit(ua,null)})}function Lt(t){var e=w(t),n=Ft(e,la.Big),r=8*e.length,i=new Array(80),o=[1732584193,4023233417,2562383102,271733878,3285377520],s=o[0],a=o[1],u=o[2],c=o[3],l=o[4];n[r>>5]|=128<<24-r%32,n[15+(r+64>>9<<4)]=r;for(var p=0;p>>13,n=Rt(n,r),n=Rt(n,e),n^=e<<8,r=Rt(r,e),r=Rt(r,n),r^=n>>>13,e=Rt(e,n),e=Rt(e,r),e^=r>>>12,n=Rt(n,r),n=Rt(n,e),n^=e<<16,r=Rt(r,e),r=Rt(r,n),r^=n>>>5,e=Rt(e,n),e=Rt(e,r),e^=r>>>3,n=Rt(n,r),n=Rt(n,e),n^=e<<10,r=Rt(r,e),r=Rt(r,n),r^=n>>>15,[e,n,r]}function Yt(t,e){return Nt(t,e)[1]}function Nt(t,e){var n=(65535&t)+(65535&e),r=(t>>>16)+(e>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function It(t,e){var n=t[0],r=t[1],i=e[0],o=e[1],s=Nt(r,o),a=s[0],u=s[1];return[Yt(Yt(n,i),a),u]}function Rt(t,e){var n=(65535&t)-(65535&e);return(t>>16)-(e>>16)+(n>>16)<<16|65535&n}function jt(t,e){return t<>>32-e}function Ht(t,e){var n=t[0],r=t[1];return[n<>>32-e,r<>>32-e]}function Ft(t,e){for(var n=Array(t.length+3>>>2),r=0;r=t.length?0:255&t.charCodeAt(e)}function Ut(t,e,n){var r=0;if(n===la.Big)for(var i=0;i<4;i++)r+=Vt(t,e+i)<<24-8*i;else for(var i=0;i<4;i++)r+=Vt(t,e+i)<<8*i;return r}function Wt(t){return t.reduce(function(t,e){return t+zt(e)},"")}function zt(t){for(var e="",n=0;n<4;n++)e+=String.fromCharCode(t>>>8*(3-n)&255);return e}function Bt(t){for(var e="",n=0;n>>4).toString(16)+(15&r).toString(16)}return e.toLowerCase()}function qt(t){for(var e="",n="1",r=t.length-1;r>=0;r--)e=Jt(e,Gt(Vt(t,r),n)),n=Gt(256,n);return e.split("").reverse().join("")}function Jt(t,e){for(var n="",r=Math.max(t.length,e.length),i=0,o=0;i=10?(o=1,n+=s-10):(o=0,n+=s)}return n}function Gt(t,e){for(var n="",r=e;0!==t;t>>>=1)1&t&&(n=Jt(n,r)),r=Jt(r,r);return n}function Qt(t){var e=new Sa(Ma,t);return function(t,n,r,i){return e.toI18nMessage(t,n,r,i)}}function Kt(t){return t.split(Ta)[2]}function Zt(t,e,n,r){return new Aa(n,r).extract(t,e)}function Xt(t,e,n,r,i){return new Aa(r,i).merge(t,e,n)}function $t(t){return!!(t instanceof Qs&&t.value&&t.value.startsWith("i18n"))}function te(t){return!!(t instanceof Qs&&t.value&&"/i18n"===t.value)}function ee(t){return t.attrs.find(function(t){return t.name===Ea})||null}function ne(t){if(!t)return{meaning:"",description:"",id:""};var e=t.indexOf(Da),n=t.indexOf(ka),r=e>-1?[t.slice(0,e),t.slice(e+2)]:[t,""],i=r[0],o=r[1],s=n>-1?[i.slice(0,n),i.slice(n+1)]:["",i];return{meaning:s[0],description:s[1],id:o}}function re(t){return Na}function ie(t){return t.map(function(t){return t.visit(Fa)}).join("")}function oe(t){return qa.reduce(function(t,e){return t.replace(e[0],e[1])},t)}function se(t){switch(t.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+t}}function ae(t){switch(t.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}function ue(t){return Et(t)}function ce(t){return t.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}function le(t,e,n){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){var r=n();return Object.defineProperty(t,e,{enumerable:!0,value:r}),r},set:function(t){throw new Error("Could not overwrite an XTB translation")}})}function pe(t){switch(t=(t||"xlf").toLowerCase()){case"xmb":return new Eu;case"xtb":return new Pu;case"xliff2":case"xlf2":return new yu;case"xliff":case"xlf":default:return new ru}}function he(t){return{identifier:{reference:t}}}function fe(t,e){return he(t.resolveExternalReference(e))}function de(t){return t.some(function(t){return t.name===Vu})}function me(t){return t.replace(new RegExp(wi,"g")," ")}function ye(t){return new ia(lt(new qu,t.rootNodes),t.errors)}function _e(t){var e=new Ku;return new Gu(lt(e,t),e.isExpanded,e.errors)}function ve(t,e){var n=t.cases.map(function(t){-1!=Ju.indexOf(t.value)||t.value.match(/^=\d+$/)||e.push(new Qu(t.valueSourceSpan,'Plural cases should be "=" or one of '+Ju.join(", ")));var n=_e(t.expression);return e.push.apply(e,n.errors),new Gs("ng-template",[new Js("ngPluralCase",""+t.value,t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),r=new Js("[ngPlural]",t.switchValue,t.switchValueSourceSpan);return new Gs("ng-container",[r],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}function ge(t,e){var n=t.cases.map(function(t){var n=_e(t.expression);return e.push.apply(e,n.errors),"other"===t.value?new Gs("ng-template",[new Js("ngSwitchDefault","",t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan):new Gs("ng-template",[new Js("ngSwitchCase",""+t.value,t.valueSourceSpan)],n.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),r=new Js("[ngSwitch]",t.switchValue,t.switchValueSourceSpan);return new Gs("ng-container",[r],n,t.sourceSpan,t.sourceSpan,t.sourceSpan)}function be(t,e){var n=e.useExisting,r=e.useValue,i=e.deps;return{token:t.token,useClass:t.useClass,useExisting:n,useFactory:t.useFactory,useValue:r,deps:i,multi:t.multi}}function we(t,e){var n=e.eager,r=e.providers;return new hi(t.token,t.multiProvider,t.eager||n,r,t.providerType,t.lifecycleHooks,t.sourceSpan)}function Me(t,e,n){var r=new Map;return t.forEach(function(t){Se([{token:{identifier:t.type},useClass:t.type}],t.isComponent?fi.Component:fi.Directive,!0,e,n,r)}),t.filter(function(t){return t.isComponent}).concat(t.filter(function(t){return!t.isComponent})).forEach(function(t){Se(t.providers,fi.PublicService,!1,e,n,r),Se(t.viewProviders,fi.PrivateService,!1,e,n,r)}),r}function Se(t,e,n,r,i,o){t.forEach(function(t){var s=o.get(D(t.token));if(null!=s&&!!s.multiProvider!=!!t.multi&&i.push(new Zu("Mixing multi and non multi provider is not possible for token "+k(s.token),r)),s)t.multi||(s.providers.length=0),s.providers.push(t);else{var a=t.token.identifier&&t.token.identifier.lifecycleHooks?t.token.identifier.lifecycleHooks:[],u=!(t.useClass||t.useExisting||t.useFactory);s=new hi(t.token,!!t.multi,n||u,[t],e,a,r),o.set(D(t.token),s)}})}function Te(t){var e=1,n=new Map;return t.viewQueries&&t.viewQueries.forEach(function(t){return Ee(n,{meta:t,queryId:e++})}),n}function xe(t,e){var n=t,r=new Map;return e.forEach(function(t,e){t.queries&&t.queries.forEach(function(t){return Ee(r,{meta:t,queryId:n++})})}),r}function Ee(t,e){e.meta.selectors.forEach(function(n){var r=t.get(D(n));r||(r=[],t.set(D(n),r)),r.push(e)})}function Ce(t){if(null==t||0===t.length||"/"==t[0])return!1;var e=t.match(oc);return null===e||"package"==e[1]||"asset"==e[1]}function Le(t,e,n){var r=[],i=n.replace(ic,"").replace(rc,function(){for(var n=[],i=0;i0&&(o=t.value)}),e=Pe(e);var a=t.name.toLowerCase(),u=Tc.OTHER;return s(a)?u=Tc.NG_CONTENT:a==bc?u=Tc.STYLE:a==wc?u=Tc.SCRIPT:a==yc&&r==gc&&(u=Tc.STYLESHEET),new xc(u,e,n,i,o)}function Pe(t){return null===t||0===t.length?"*":t}function Ae(t){return function(e){return-1===t.indexOf(e.msg)||(zc[e.msg]=(zc[e.msg]||0)+1,zc[e.msg]<=1)}}function Ye(t){return t?t.split(",").map(function(t){return t.trim()}):[]}function Ne(t){return t.trim().split(/\s+/g)}function Ie(t,e){var n=new Ei,r=i(t)[1];n.setElement(r);for(var o=0;o0?i.pop():o++;break;default:i.push(a)}}if(""==e){for(;o-- >0;)i.unshift("..");0===i.length&&i.push(".")}return e+i.join("/")+n}function qe(t){var e=t[ol.Path];return e=null==e?"":Be(e),t[ol.Path]=e,We(t[ol.Scheme],t[ol.UserInfo],t[ol.Domain],t[ol.Port],e,t[ol.QueryData],t[ol.Fragment])}function Je(t,e){var n=ze(encodeURI(e)),r=ze(t);if(null!=n[ol.Scheme])return qe(n);n[ol.Scheme]=r[ol.Scheme];for(var i=ol.Scheme;i<=ol.Port;i++)null==n[i]&&(n[i]=r[i]);if("/"==n[ol.Path][0])return qe(n);var o=r[ol.Path];null==o&&(o="/");var s=o.lastIndexOf("/");return o=o.substring(0,s+1)+n[ol.Path],n[ol.Path]=o,qe(n)}function Ge(t){return t instanceof ti.Directive}function Qe(t,e){for(var n=t.length-1;n>=0;n--)if(e(t[n]))return t[n];return null}function Ke(t,e){void 0===e&&(e=!1);var n=$e(t,e);return n[0]+".ngfactory"+n[1]}function Ze(t){return t.replace(ll,".")}function Xe(t){return ll.test(t)}function $e(t,e){if(void 0===e&&(e=!1),t.endsWith(".d.ts"))return[t.slice(0,-5),e?".ts":".d.ts"];var n=t.lastIndexOf(".");return-1!==n?[t.substring(0,n),t.substring(n)]:[t,""]}function tn(t){return t.replace(cl,"")+".ngsummary.json"}function en(t,e){void 0===e&&(e=!1);var n=$e(Ze(t),e);return n[0]+".ngsummary"+n[1]}function nn(t){return t.replace(pl,".")}function rn(t){return t+"NgSummary"}function on(t){return t.replace(hl,"")}function sn(t,e,n){return t.hasLifecycleHook(n,un(e))}function an(t,e){return dl.filter(function(n){return sn(t,n,e)})}function un(t){switch(t){case fl.OnInit:return"ngOnInit";case fl.OnDestroy:return"ngOnDestroy";case fl.DoCheck:return"ngDoCheck";case fl.OnChanges:return"ngOnChanges";case fl.AfterContentInit:return"ngAfterContentInit";case fl.AfterContentChecked:return"ngAfterContentChecked";case fl.AfterViewInit:return"ngAfterViewInit";case fl.AfterViewChecked:return"ngAfterViewChecked"}}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function cn(t){return t instanceof ti.NgModule}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function ln(t){return t instanceof ti.Pipe}function pn(t,e){if(void 0===e&&(e=[]),t)for(var r=0;r>2),e+=Vn((3&r)<<4|(isNaN(i)?0:i>>4)),e+=isNaN(i)?"=":Vn((15&i)<<2|o>>6),e+=isNaN(i)||isNaN(o)?"=":Vn(63&o)}return e}function Fn(t){t=t<0?1+(-t<<1):t<<1;var e="";do{var n=31&t;t>>=5,t>0&&(n|=32),e+=Vn(n)}while(t>0);return e}function Vn(t){if(t<0||t>=64)throw new Error("Can only encode value in the range [0, 63]");return Pp[t]}function Un(t,e,n){if(void 0===n&&(n=!0),null==t)return null;var r=t.replace(Ap,function(){for(var t=[],n=0;n0?o.push(a):(o.length>0&&(r.push(o.join("")),n.push(bh),o=[]),n.push(a)),a==vh&&i++}return o.length>0&&(r.push(o.join("")),n.push(bh)),new Mh(n.join(""),r)}function Zn(t){var e="styles";return t&&(e+="_"+S(t.type)),e}function Xn(t,e,n,r){t||(t=new Nh);var i=$n({createLiteralArrayConverter:function(t){return function(t){return xn(t)}},createLiteralMapConverter:function(t){return function(e){return En(t.map(function(t,n){return{key:t.key,value:e[n],quoted:t.quoted}}))}},createPipeConverter:function(t){throw new Error("Illegal State: Actions are not allowed to contain pipes. Pipe: "+t)}},n),o=new Yh(t,e,r),s=[];ur(i.visit(o,Ph.Statement),s),ir(o.temporaryCount,r,s);var a=s.length-1,u=null;if(a>=0){var c=s[a],l=pr(c);l&&(u=lr(r),s[a]=u.set(l.cast(kl).notIdentical(Dn(!1))).toDeclStmt(null,[ap.Final]))}return new Dh(s,u)}function $n(t,e){return er(t,e)}function tr(t,e,n,r){t||(t=new Nh);var i=cr(r),o=[],s=new Yh(t,e,r),a=n.visit(s,Ph.Expression);if(s.temporaryCount)for(var u=0;u=0;r--)n.unshift(rr(e,r))}function or(t,e){if(t!==Ph.Statement)throw new Error("Expected a statement, but saw "+e)}function sr(t,e){if(t!==Ph.Expression)throw new Error("Expected an expression, but saw "+e)}function ar(t,e){return t===Ph.Statement?e.toStmt():e}function ur(t,e){Array.isArray(t)?t.forEach(function(t){return ur(t,e)}):e.push(t)}function cr(t){return wn("currVal_"+t)}function lr(t){return wn("pd_"+t)}function pr(t){return t instanceof pp?t.expr:t instanceof hp?t.value:null}function hr(t){var e=t[t.length-1];return e instanceof ci?e.hasViewContainer:e instanceof ui?o(e.name)&&e.children.length?hr(e.children):e.hasViewContainer:e instanceof di}function fr(t,e){switch(t.type){case mi.Attribute:return xn([Dn(1),Dn(t.name),Dn(t.securityContext)]);case mi.Property:return xn([Dn(8),Dn(t.name),Dn(t.securityContext)]);case mi.Animation:return xn([Dn(8|(e&&e.directive.isComponent?32:16)),Dn("@"+t.name),Dn(t.securityContext)]);case mi.Class:return xn([Dn(2),Dn(t.name),op]);case mi.Style:return xn([Dn(4),Dn(t.name),Dn(t.unit)])}}function dr(t){var e=Object.create(null);return t.attrs.forEach(function(t){e[t.name]=t.value}),t.directives.forEach(function(t){Object.keys(t.directive.hostAttributes).forEach(function(n){var r=t.directive.hostAttributes[n],i=e[n];e[n]=null!=i?mr(n,i,r):r})}),xn(Object.keys(e).sort().map(function(t){return xn([Dn(t),Dn(e[t])])}))}function mr(t,e,n){return t==Rh||t==jh?e+" "+n:n}function yr(t,e){return e.length>10?zh.callFn([Wh,Dn(t),Dn(1),xn(e)]):zh.callFn([Wh,Dn(t),Dn(0)].concat(e))}function _r(t,e,n){return Mn(Fu.unwrapValue).callFn([Wh,Dn(t),Dn(e),n])}function vr(t,e){return void 0===e&&(e=new Map),t.forEach(function(t){var n=new Set,r=new Set,i=void 0;t instanceof ui?(vr(t.children,e),t.children.forEach(function(t){var i=e.get(t);i.staticQueryIds.forEach(function(t){return n.add(t)}),i.dynamicQueryIds.forEach(function(t){return r.add(t)})}),i=t.queryMatches):t instanceof ci&&(vr(t.children,e),t.children.forEach(function(t){var n=e.get(t);n.staticQueryIds.forEach(function(t){return r.add(t)}),n.dynamicQueryIds.forEach(function(t){return r.add(t)})}),i=t.queryMatches),i&&i.forEach(function(t){return n.add(t.queryId)}),r.forEach(function(t){return n.delete(t)}),e.set(t,{staticQueryIds:n,dynamicQueryIds:r})}),e}function gr(t){var e=new Set,n=new Set;return Array.from(t.values()).forEach(function(t){t.staticQueryIds.forEach(function(t){return e.add(t)}),t.dynamicQueryIds.forEach(function(t){return n.add(t)})}),n.forEach(function(t){return e.delete(t)}),{staticQueryIds:e,dynamicQueryIds:n}}function br(t,e){return t.isAnimation?{name:"@"+t.name+"."+t.phase,target:e&&e.directive.isComponent?"component":null}:t}function wr(t,e,n){var r=0;return!n||!t.staticQueryIds.has(e)&&t.dynamicQueryIds.has(e)?r|=536870912:r|=268435456,r}/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -function Mr(t,e,n,r,i){var o=new Kh(n,e),s=new Zh(t,n);r.forEach(function(t){return o.addOrMergeSummary({symbol:t.symbol,metadata:t.metadata})});for(var a=0;a=0;e--)if(void 0!==t[e])return t[e]}function Xr(t){var e=[];return t.forEach(function(t){return t&&e.push.apply(e,t)}),e}var $r=n("TToO"),ti=n("3j3K");n.d(e,"b",function(){return Of}),n.d(e,"a",function(){return el});/** - * @license Angular v4.4.7 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var ei=(new ti.Version("4.4.7"),function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}()),ni=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitBoundText(this,e)},t}(),ri=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitAttr(this,e)},t}(),ii=function(){function t(t,e,n,r,i,o){this.name=t,this.type=e,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o}return t.prototype.visit=function(t,e){return t.visitElementProperty(this,e)},Object.defineProperty(t.prototype,"isAnimation",{get:function(){return this.type===mi.Animation},enumerable:!0,configurable:!0}),t}(),oi=function(){function t(t,e,n,r,i){this.name=t,this.target=e,this.phase=n,this.handler=r,this.sourceSpan=i}return t.calcFullName=function(t,e,n){return e?e+":"+t:n?"@"+t+"."+n:t},t.prototype.visit=function(t,e){return t.visitEvent(this,e)},Object.defineProperty(t.prototype,"fullName",{get:function(){return t.calcFullName(this.name,this.target,this.phase)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAnimation",{get:function(){return!!this.phase},enumerable:!0,configurable:!0}),t}(),si=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitReference(this,e)},t}(),ai=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitVariable(this,e)},t}(),ui=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p,h){this.name=t,this.attrs=e,this.inputs=n,this.outputs=r,this.references=i,this.directives=o,this.providers=s,this.hasViewContainer=a,this.queryMatches=u,this.children=c,this.ngContentIndex=l,this.sourceSpan=p,this.endSourceSpan=h}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),ci=function(){function t(t,e,n,r,i,o,s,a,u,c,l){this.attrs=t,this.outputs=e,this.references=n,this.variables=r,this.directives=i,this.providers=o,this.hasViewContainer=s,this.queryMatches=a,this.children=u,this.ngContentIndex=c,this.sourceSpan=l}return t.prototype.visit=function(t,e){return t.visitEmbeddedTemplate(this,e)},t}(),li=function(){function t(t,e,n,r){this.directiveName=t,this.templateName=e,this.value=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitDirectiveProperty(this,e)},t}(),pi=function(){function t(t,e,n,r,i,o){this.directive=t,this.inputs=e,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=i,this.sourceSpan=o}return t.prototype.visit=function(t,e){return t.visitDirective(this,e)},t}(),hi=function(){function t(t,e,n,r,i,o,s){this.token=t,this.multiProvider=e,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return null},t}(),fi={};fi.PublicService=0,fi.PrivateService=1,fi.Component=2,fi.Directive=3,fi.Builtin=4,fi[fi.PublicService]="PublicService",fi[fi.PrivateService]="PrivateService",fi[fi.Component]="Component",fi[fi.Directive]="Directive",fi[fi.Builtin]="Builtin";var di=function(){function t(t,e,n){this.index=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitNgContent(this,e)},t}(),mi={};mi.Property=0,mi.Attribute=1,mi.Class=2,mi.Style=3,mi.Animation=4,mi[mi.Property]="Property",mi[mi.Attribute]="Attribute",mi[mi.Class]="Class",mi[mi.Style]="Style",mi[mi.Animation]="Animation";var yi=function(){function t(){}return t.prototype.visitNgContent=function(t,e){},t.prototype.visitEmbeddedTemplate=function(t,e){},t.prototype.visitElement=function(t,e){},t.prototype.visitReference=function(t,e){},t.prototype.visitVariable=function(t,e){},t.prototype.visitEvent=function(t,e){},t.prototype.visitElementProperty=function(t,e){},t.prototype.visitAttr=function(t,e){},t.prototype.visitBoundText=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitDirective=function(t,e){},t.prototype.visitDirectiveProperty=function(t,e){},t}(),_i=(function(t){function e(){return t.call(this)||this}$r.a(e,t),e.prototype.visitEmbeddedTemplate=function(t,e){return this.visitChildren(e,function(e){e(t.attrs),e(t.references),e(t.variables),e(t.directives),e(t.providers),e(t.children)})},e.prototype.visitElement=function(t,e){return this.visitChildren(e,function(e){e(t.attrs),e(t.inputs),e(t.outputs),e(t.references),e(t.directives),e(t.providers),e(t.children)})},e.prototype.visitDirective=function(t,e){return this.visitChildren(e,function(e){e(t.inputs),e(t.hostProperties),e(t.hostEvents)})},e.prototype.visitChildren=function(t,e){function n(e){e&&e.length&&i.push(r(o,e,t))}var i=[],o=this;return e(n),[].concat.apply([],i)}}(yi),function(){function t(t,e,n){this.filePath=t,this.name=e,this.members=n}return t.prototype.assertNoMembers=function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got "+JSON.stringify(this)+".")},t}()),vi=function(){function t(){this.cache=new Map}return t.prototype.get=function(t,e,n){n=n||[];var r=n.length?"."+n.join("."):"",i='"'+t+'".'+e+r,o=this.cache.get(i);return o||(o=new _i(t,e,n),this.cache.set(i,o)),o},t}(),gi={};gi.RAW_TEXT=0,gi.ESCAPABLE_RAW_TEXT=1,gi.PARSABLE_DATA=2,gi[gi.RAW_TEXT]="RAW_TEXT",gi[gi.ESCAPABLE_RAW_TEXT]="ESCAPABLE_RAW_TEXT",gi[gi.PARSABLE_DATA]="PARSABLE_DATA";var bi={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞",int:"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"‏",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"‍",zwnj:"‌"},wi="";bi.ngsp=wi;/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Mi=function(){function t(t){var e=void 0===t?{}:t,n=e.closedByChildren,r=e.requiredParents,i=e.implicitNamespacePrefix,o=e.contentType,s=void 0===o?gi.PARSABLE_DATA:o,a=e.closedByParent,u=void 0!==a&&a,c=e.isVoid,l=void 0!==c&&c,p=e.ignoreFirstLf,h=void 0!==p&&p,f=this;this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,n&&n.length>0&&n.forEach(function(t){return f.closedByChildren[t]=!0}),this.isVoid=l,this.closedByParent=u||l,r&&r.length>0&&(this.requiredParents={},this.parentToAdd=r[0],r.forEach(function(t){return f.requiredParents[t]=!0})),this.implicitNamespacePrefix=i||null,this.contentType=s,this.ignoreFirstLf=h}return t.prototype.requireExtraParent=function(t){if(!this.requiredParents)return!1;if(!t)return!0;var e=t.toLowerCase();return!("template"===e||"ng-template"===t)&&1!=this.requiredParents[e]},t.prototype.isClosedByChild=function(t){return this.isVoid||t.toLowerCase()in this.closedByChildren},t}(),Si={base:new Mi({isVoid:!0}),meta:new Mi({isVoid:!0}),area:new Mi({isVoid:!0}),embed:new Mi({isVoid:!0}),link:new Mi({isVoid:!0}),img:new Mi({isVoid:!0}),input:new Mi({isVoid:!0}),param:new Mi({isVoid:!0}),hr:new Mi({isVoid:!0}),br:new Mi({isVoid:!0}),source:new Mi({isVoid:!0}),track:new Mi({isVoid:!0}),wbr:new Mi({isVoid:!0}),p:new Mi({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new Mi({closedByChildren:["tbody","tfoot"]}),tbody:new Mi({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Mi({closedByChildren:["tbody"],closedByParent:!0}),tr:new Mi({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new Mi({closedByChildren:["td","th"],closedByParent:!0}),th:new Mi({closedByChildren:["td","th"],closedByParent:!0}),col:new Mi({requiredParents:["colgroup"],isVoid:!0}),svg:new Mi({implicitNamespacePrefix:"svg"}),math:new Mi({implicitNamespacePrefix:"math"}),li:new Mi({closedByChildren:["li"],closedByParent:!0}),dt:new Mi({closedByChildren:["dt","dd"]}),dd:new Mi({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Mi({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Mi({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Mi({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Mi({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Mi({closedByChildren:["optgroup"],closedByParent:!0}),option:new Mi({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Mi({ignoreFirstLf:!0}),listing:new Mi({ignoreFirstLf:!0}),style:new Mi({contentType:gi.RAW_TEXT}),script:new Mi({contentType:gi.RAW_TEXT}),title:new Mi({contentType:gi.ESCAPABLE_RAW_TEXT}),textarea:new Mi({contentType:gi.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},Ti=new Mi,xi=new RegExp("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-.\\w*]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g"),Ei=function(){function t(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return t.parse=function(e){var n,r=[],i=function(t,e){e.notSelectors.length>0&&!e.element&&0==e.classNames.length&&0==e.attrs.length&&(e.element="*"),t.push(e)},o=new t,s=o,a=!1;for(xi.lastIndex=0;n=xi.exec(e);){if(n[1]){if(a)throw new Error("Nesting :not is not allowed in a selector");a=!0,s=new t,o.notSelectors.push(s)}if(n[2]&&s.setElement(n[2]),n[3]&&s.addClassName(n[3]),n[4]&&s.addAttribute(n[4],n[6]),n[7]&&(a=!1,s=o),n[8]){if(a)throw new Error("Multiple selectors in :not are not supported");i(r,o),o=s=new t}}return i(r,o),r},t.prototype.isElementSelector=function(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length},t.prototype.hasElementSelector=function(){return!!this.element},t.prototype.setElement=function(t){void 0===t&&(t=null),this.element=t},t.prototype.getMatchingElementTemplate=function(){for(var t=this.element||"div",e=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",n="",r=0;r":"<"+t+e+n+">"},t.prototype.addAttribute=function(t,e){void 0===e&&(e=""),this.attrs.push(t,e&&e.toLowerCase()||"")},t.prototype.addClassName=function(t){this.classNames.push(t.toLowerCase())},t.prototype.toString=function(){var t=this.element||"";if(this.classNames&&this.classNames.forEach(function(e){return t+="."+e}),this.attrs)for(var e=0;e1&&(n=new Li(t),this._listContexts.push(n));for(var r=0;r0&&(!this.listContext||!this.listContext.alreadyMatched)){n=!Ci.createNotMatcher(this.notSelectors).match(t,null)}return!n||!e||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),e(this.selector,this.cbContext)),n},t}(),Di="",Oi=/-+([a-z0-9])/g,Pi=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return t.map(function(t){return m(t,n,e)})},t.prototype.visitStringMap=function(t,e){var n=this,r={};return Object.keys(t).forEach(function(i){r[i]=m(t[i],n,e)}),r},t.prototype.visitPrimitive=function(t,e){return t},t.prototype.visitOther=function(t,e){return t},t}(),Ai={assertSync:function(t){if(n.i(ti["ɵisPromise"])(t))throw new Error("Illegal state: value cannot be a promise");return t},then:function(t,e){return n.i(ti["ɵisPromise"])(t)?t.then(e):e(t)},all:function(t){return t.some(ti["ɵisPromise"])?Promise.all(t):t}},Yi="ngSyntaxError",Ni="ngParseErrors",Ii=Object.getPrototypeOf({}),Ri=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/,ji=0,Hi={};Hi.Pipe=0,Hi.Directive=1,Hi.NgModule=2,Hi.Injectable=3,Hi[Hi.Pipe]="Pipe",Hi[Hi.Directive]="Directive",Hi[Hi.NgModule]="NgModule",Hi[Hi.Injectable]="Injectable";var Fi=function(){function t(t){var e=void 0===t?{}:t,n=e.moduleUrl,r=e.styles,i=e.styleUrls;this.moduleUrl=n||null,this.styles=P(r),this.styleUrls=P(i)}return t}(),Vi=function(){function t(t){var e=t.encapsulation,n=t.template,r=t.templateUrl,i=t.styles,o=t.styleUrls,s=t.externalStylesheets,a=t.animations,u=t.ngContentSelectors,c=t.interpolation,l=t.isInline,p=t.preserveWhitespaces;if(this.encapsulation=e,this.template=n,this.templateUrl=r,this.styles=P(i),this.styleUrls=P(o),this.externalStylesheets=P(s),this.animations=a?A(a):[],this.ngContentSelectors=u||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=l,this.preserveWhitespaces=p}return t.prototype.toSummary=function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation}},t}(),Ui=function(){function t(t){var e=t.isHost,n=t.type,r=t.isComponent,i=t.selector,o=t.exportAs,s=t.changeDetection,a=t.inputs,u=t.outputs,c=t.hostListeners,l=t.hostProperties,p=t.hostAttributes,h=t.providers,f=t.viewProviders,d=t.queries,m=t.viewQueries,y=t.entryComponents,_=t.template,v=t.componentViewType,g=t.rendererType,b=t.componentFactory;this.isHost=!!e,this.type=n,this.isComponent=r,this.selector=i,this.exportAs=o,this.changeDetection=s,this.inputs=a,this.outputs=u,this.hostListeners=c,this.hostProperties=l,this.hostAttributes=p,this.providers=P(h),this.viewProviders=P(f),this.queries=P(d),this.viewQueries=P(m),this.entryComponents=P(y),this.template=_,this.componentViewType=v,this.rendererType=g,this.componentFactory=b}return t.create=function(e){var n=e.isHost,r=e.type,i=e.isComponent,o=e.selector,s=e.exportAs,a=e.changeDetection,u=e.inputs,c=e.outputs,l=e.host,p=e.providers,f=e.viewProviders,d=e.queries,m=e.viewQueries,y=e.entryComponents,_=e.template,v=e.componentViewType,g=e.rendererType,b=e.componentFactory,w={},M={},S={};null!=l&&Object.keys(l).forEach(function(t){var e=l[t],n=t.match(Ri);null===n?S[t]=e:null!=n[1]?M[n[1]]=e:null!=n[2]&&(w[n[2]]=e)});var T={};null!=u&&u.forEach(function(t){var e=h(t,[t,t]);T[e[0]]=e[1]});var x={};return null!=c&&c.forEach(function(t){var e=h(t,[t,t]);x[e[0]]=e[1]}),new t({isHost:n,type:r,isComponent:!!i,selector:o,exportAs:s,changeDetection:a,inputs:T,outputs:x,hostListeners:w,hostProperties:M,hostAttributes:S,providers:p,viewProviders:f,queries:d,viewQueries:m,entryComponents:y,template:_,componentViewType:v,rendererType:g,componentFactory:b})},t.prototype.toSummary=function(){return{summaryKind:Hi.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}},t}(),Wi=function(){function t(t){var e=t.type,n=t.name,r=t.pure;this.type=e,this.name=n,this.pure=!!r}return t.prototype.toSummary=function(){return{summaryKind:Hi.Pipe,type:this.type,name:this.name,pure:this.pure}},t}(),zi=function(){function t(t){var e=t.type,n=t.providers,r=t.declaredDirectives,i=t.exportedDirectives,o=t.declaredPipes,s=t.exportedPipes,a=t.entryComponents,u=t.bootstrapComponents,c=t.importedModules,l=t.exportedModules,p=t.schemas,h=t.transitiveModule,f=t.id;this.type=e||null,this.declaredDirectives=P(r),this.exportedDirectives=P(i),this.declaredPipes=P(o),this.exportedPipes=P(s),this.providers=P(n),this.entryComponents=P(a),this.bootstrapComponents=P(u),this.importedModules=P(c),this.exportedModules=P(l),this.schemas=P(p),this.id=f||null,this.transitiveModule=h||null}return t.prototype.toSummary=function(){var t=this.transitiveModule;return{summaryKind:Hi.NgModule,type:this.type,entryComponents:t.entryComponents,providers:t.providers,modules:t.modules,exportedDirectives:t.exportedDirectives,exportedPipes:t.exportedPipes}},t}(),Bi=function(){function t(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return t.prototype.addProvider=function(t,e){this.providers.push({provider:t,module:e})},t.prototype.addDirective=function(t){this.directivesSet.has(t.reference)||(this.directivesSet.add(t.reference),this.directives.push(t))},t.prototype.addExportedDirective=function(t){this.exportedDirectivesSet.has(t.reference)||(this.exportedDirectivesSet.add(t.reference),this.exportedDirectives.push(t))},t.prototype.addPipe=function(t){this.pipesSet.has(t.reference)||(this.pipesSet.add(t.reference),this.pipes.push(t))},t.prototype.addExportedPipe=function(t){this.exportedPipesSet.has(t.reference)||(this.exportedPipesSet.add(t.reference),this.exportedPipes.push(t))},t.prototype.addModule=function(t){this.modulesSet.has(t.reference)||(this.modulesSet.add(t.reference),this.modules.push(t))},t.prototype.addEntryComponent=function(t){this.entryComponentsSet.has(t.componentType)||(this.entryComponentsSet.add(t.componentType),this.entryComponents.push(t))},t}(),qi=function(){function t(t,e){var n=e.useClass,r=e.useValue,i=e.useExisting,o=e.useFactory,s=e.deps,a=e.multi;this.token=t,this.useClass=n||null,this.useValue=r,this.useExisting=i,this.useFactory=o||null,this.dependencies=s||null,this.multi=!!a}return t}(),Ji=function(){function t(){}return t.prototype.parameters=function(t){},t.prototype.annotations=function(t){},t.prototype.propMetadata=function(t){},t.prototype.hasLifecycleHook=function(t,e){},t.prototype.componentModuleUrl=function(t,e){},t.prototype.resolveExternalReference=function(t){},t}(),Gi=function(){function t(t){var e=void 0===t?{}:t,n=e.defaultEncapsulation,r=void 0===n?ti.ViewEncapsulation.Emulated:n,i=e.useJit,o=void 0===i||i,s=e.missingTranslation,a=e.enableLegacyTemplate,u=e.preserveWhitespaces;this.defaultEncapsulation=r,this.useJit=!!o,this.missingTranslation=s||null,this.enableLegacyTemplate=!1!==a,this.preserveWhitespaces=H(_(u))}return t}(),Qi=function(){function t(t,e,n,r){this.input=e,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: "+t+" "+n+" ["+e+"] in "+r}return t}(),Ki=function(){function t(t,e){this.start=t,this.end=e}return t}(),Zi=function(){function t(t){this.span=t}return t.prototype.visit=function(t,e){return void 0===e&&(e=null),null},t.prototype.toString=function(){return"AST"},t}(),Xi=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.prefix=n,o.uninterpretedExpression=r,o.location=i,o}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitQuote(this,e)},e.prototype.toString=function(){return"Quote"},e}(Zi),$i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return $r.a(e,t),e.prototype.visit=function(t,e){void 0===e&&(e=null)},e}(Zi),to=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitImplicitReceiver(this,e)},e}(Zi),eo=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expressions=n,r}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitChain(this,e)},e}(Zi),no=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.condition=n,o.trueExp=r,o.falseExp=i,o}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitConditional(this,e)},e}(Zi),ro=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.receiver=n,i.name=r,i}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyRead(this,e)},e}(Zi),io=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.receiver=n,o.name=r,o.value=i,o}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyWrite(this,e)},e}(Zi),oo=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.receiver=n,i.name=r,i}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafePropertyRead(this,e)},e}(Zi),so=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.obj=n,i.key=r,i}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedRead(this,e)},e}(Zi),ao=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.obj=n,o.key=r,o.value=i,o}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedWrite(this,e)},e}(Zi),uo=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.exp=n,o.name=r,o.args=i,o}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPipe(this,e)},e}(Zi),co=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralPrimitive(this,e)},e}(Zi),lo=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expressions=n,r}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralArray(this,e)},e}(Zi),po=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keys=n,i.values=r,i}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralMap(this,e)},e}(Zi),ho=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.strings=n,i.expressions=r,i}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitInterpolation(this,e)},e}(Zi),fo=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.operation=n,o.left=r,o.right=i,o}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitBinary(this,e)},e}(Zi),mo=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expression=n,r}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPrefixNot(this,e)},e}(Zi),yo=function(t){function e(e,n){var r=t.call(this,e)||this;return r.expression=n,r}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitNonNullAssert(this,e)},e}(Zi),_o=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.receiver=n,o.name=r,o.args=i,o}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitMethodCall(this,e)},e}(Zi),vo=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.receiver=n,o.name=r,o.args=i,o}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafeMethodCall(this,e)},e}(Zi),go=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.target=n,i.args=r,i}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitFunctionCall(this,e)},e}(Zi),bo=function(t){function e(e,n,r,i){var o=t.call(this,new Ki(0,null==n?0:n.length))||this;return o.ast=e,o.source=n,o.location=r,o.errors=i,o}return $r.a(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),this.ast.visit(t,e)},e.prototype.toString=function(){return this.source+" in "+this.location},e}(Zi),wo=function(){function t(t,e,n,r,i){this.span=t,this.key=e,this.keyIsVar=n,this.name=r,this.expression=i}return t}(),Mo=(function(){function t(){}t.prototype.visitBinary=function(t,e){},t.prototype.visitChain=function(t,e){},t.prototype.visitConditional=function(t,e){},t.prototype.visitFunctionCall=function(t,e){},t.prototype.visitImplicitReceiver=function(t,e){},t.prototype.visitInterpolation=function(t,e){},t.prototype.visitKeyedRead=function(t,e){},t.prototype.visitKeyedWrite=function(t,e){},t.prototype.visitLiteralArray=function(t,e){},t.prototype.visitLiteralMap=function(t,e){},t.prototype.visitLiteralPrimitive=function(t,e){},t.prototype.visitMethodCall=function(t,e){},t.prototype.visitPipe=function(t,e){},t.prototype.visitPrefixNot=function(t,e){},t.prototype.visitNonNullAssert=function(t,e){},t.prototype.visitPropertyRead=function(t,e){},t.prototype.visitPropertyWrite=function(t,e){},t.prototype.visitQuote=function(t,e){},t.prototype.visitSafeMethodCall=function(t,e){},t.prototype.visitSafePropertyRead=function(t,e){}}(),function(){function t(){}return t.prototype.visitBinary=function(t,e){return t.left.visit(this),t.right.visit(this),null},t.prototype.visitChain=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this),null},t.prototype.visitPipe=function(t,e){return t.exp.visit(this),this.visitAll(t.args,e),null},t.prototype.visitFunctionCall=function(t,e){return t.target.visit(this),this.visitAll(t.args,e),null},t.prototype.visitImplicitReceiver=function(t,e){return null},t.prototype.visitInterpolation=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitKeyedRead=function(t,e){return t.obj.visit(this),t.key.visit(this),null},t.prototype.visitKeyedWrite=function(t,e){return t.obj.visit(this),t.key.visit(this),t.value.visit(this),null},t.prototype.visitLiteralArray=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitLiteralMap=function(t,e){return this.visitAll(t.values,e)},t.prototype.visitLiteralPrimitive=function(t,e){return null},t.prototype.visitMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitPrefixNot=function(t,e){return t.expression.visit(this),null},t.prototype.visitNonNullAssert=function(t,e){return t.expression.visit(this),null},t.prototype.visitPropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitPropertyWrite=function(t,e){return t.receiver.visit(this),t.value.visit(this),null},t.prototype.visitSafePropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitSafeMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitAll=function(t,e){var n=this;return t.forEach(function(t){return t.visit(n,e)}),null},t.prototype.visitQuote=function(t,e){return null},t}()),So=function(){function t(){}return t.prototype.visitImplicitReceiver=function(t,e){return t},t.prototype.visitInterpolation=function(t,e){return new ho(t.span,t.strings,this.visitAll(t.expressions))},t.prototype.visitLiteralPrimitive=function(t,e){return new co(t.span,t.value)},t.prototype.visitPropertyRead=function(t,e){return new ro(t.span,t.receiver.visit(this),t.name)},t.prototype.visitPropertyWrite=function(t,e){return new io(t.span,t.receiver.visit(this),t.name,t.value.visit(this))},t.prototype.visitSafePropertyRead=function(t,e){return new oo(t.span,t.receiver.visit(this),t.name)},t.prototype.visitMethodCall=function(t,e){return new _o(t.span,t.receiver.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitSafeMethodCall=function(t,e){return new vo(t.span,t.receiver.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitFunctionCall=function(t,e){return new go(t.span,t.target.visit(this),this.visitAll(t.args))},t.prototype.visitLiteralArray=function(t,e){return new lo(t.span,this.visitAll(t.expressions))},t.prototype.visitLiteralMap=function(t,e){return new po(t.span,t.keys,this.visitAll(t.values))},t.prototype.visitBinary=function(t,e){return new fo(t.span,t.operation,t.left.visit(this),t.right.visit(this))},t.prototype.visitPrefixNot=function(t,e){return new mo(t.span,t.expression.visit(this))},t.prototype.visitNonNullAssert=function(t,e){return new yo(t.span,t.expression.visit(this))},t.prototype.visitConditional=function(t,e){return new no(t.span,t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this))},t.prototype.visitPipe=function(t,e){return new uo(t.span,t.exp.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitKeyedRead=function(t,e){return new so(t.span,t.obj.visit(this),t.key.visit(this))},t.prototype.visitKeyedWrite=function(t,e){return new ao(t.span,t.obj.visit(this),t.key.visit(this),t.value.visit(this))},t.prototype.visitAll=function(t){for(var e=new Array(t.length),n=0;n]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],Es=function(){function t(t,e){this.start=t,this.end=e}return t.fromArray=function(e){return e?(q("interpolation",e),new t(e[0],e[1])):Cs},t}(),Cs=new Es("{{","}}"),Ls={};Ls.Character=0,Ls.Identifier=1,Ls.Keyword=2,Ls.String=3,Ls.Operator=4,Ls.Number=5,Ls.Error=6,Ls[Ls.Character]="Character",Ls[Ls.Identifier]="Identifier",Ls[Ls.Keyword]="Keyword",Ls[Ls.String]="String",Ls[Ls.Operator]="Operator",Ls[Ls.Number]="Number",Ls[Ls.Error]="Error";var ks=["var","let","as","null","undefined","true","false","if","else","this"],Ds=function(){function t(){}return t.prototype.tokenize=function(t){for(var e=new As(t),n=[],r=e.scanToken();null!=r;)n.push(r),r=e.scanToken();return n},t}();Ds.decorators=[{type:z}],Ds.ctorParameters=function(){return[]};var Os=function(){function t(t,e,n,r){this.index=t,this.type=e,this.numValue=n,this.strValue=r}return t.prototype.isCharacter=function(t){return this.type==Ls.Character&&this.numValue==t},t.prototype.isNumber=function(){return this.type==Ls.Number},t.prototype.isString=function(){return this.type==Ls.String},t.prototype.isOperator=function(t){return this.type==Ls.Operator&&this.strValue==t},t.prototype.isIdentifier=function(){return this.type==Ls.Identifier},t.prototype.isKeyword=function(){return this.type==Ls.Keyword},t.prototype.isKeywordLet=function(){return this.type==Ls.Keyword&&"let"==this.strValue},t.prototype.isKeywordAs=function(){return this.type==Ls.Keyword&&"as"==this.strValue},t.prototype.isKeywordNull=function(){return this.type==Ls.Keyword&&"null"==this.strValue},t.prototype.isKeywordUndefined=function(){return this.type==Ls.Keyword&&"undefined"==this.strValue},t.prototype.isKeywordTrue=function(){return this.type==Ls.Keyword&&"true"==this.strValue},t.prototype.isKeywordFalse=function(){return this.type==Ls.Keyword&&"false"==this.strValue},t.prototype.isKeywordThis=function(){return this.type==Ls.Keyword&&"this"==this.strValue},t.prototype.isError=function(){return this.type==Ls.Error},t.prototype.toNumber=function(){return this.type==Ls.Number?this.numValue:-1},t.prototype.toString=function(){switch(this.type){case Ls.Character:case Ls.Identifier:case Ls.Keyword:case Ls.Operator:case Ls.String:case Ls.Error:return this.strValue;case Ls.Number:return this.numValue.toString();default:return null}},t}(),Ps=new Os(-1,Ls.Character,0,""),As=function(){function t(t){this.input=t,this.peek=0,this.index=-1,this.length=t.length,this.advance()}return t.prototype.advance=function(){this.peek=++this.index>=this.length?To:this.input.charCodeAt(this.index)},t.prototype.scanToken=function(){for(var t=this.input,e=this.length,n=this.peek,r=this.index;n<=Do;){if(++r>=e){n=To;break}n=t.charCodeAt(r)}if(this.peek=n,this.index=r,r>=e)return null;if(tt(n))return this.scanIdentifier();if(V(n))return this.scanNumber(r);var i=r;switch(n){case zo:return this.advance(),V(this.peek)?this.scanNumber(i):J(i,zo);case jo:case Ho:case bs:case Ms:case os:case as:case Uo:case qo:case Jo:return this.scanCharacter(i,n);case Ro:case Po:return this.scanString();case Ao:case Vo:case Wo:case Fo:case Bo:case No:case us:return this.scanOperator(i,String.fromCharCode(n));case Zo:return this.scanComplexOperator(i,"?",zo,".");case Go:case Ko:return this.scanComplexOperator(i,String.fromCharCode(n),Qo,"=");case Oo:case Qo:return this.scanComplexOperator(i,String.fromCharCode(n),Qo,"=",Qo,"=");case Io:return this.scanComplexOperator(i,"&",Io,"&");case ws:return this.scanComplexOperator(i,"|",ws,"|");case Ss:for(;F(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+String.fromCharCode(n)+"]",0)},t.prototype.scanCharacter=function(t,e){return this.advance(),J(t,e)},t.prototype.scanOperator=function(t,e){return this.advance(),K(t,e)},t.prototype.scanComplexOperator=function(t,e,n,r,i,o){this.advance();var s=e;return this.peek==n&&(this.advance(),s+=r),null!=i&&this.peek==i&&(this.advance(),s+=o),K(t,s)},t.prototype.scanIdentifier=function(){var t=this.index;for(this.advance();nt(this.peek);)this.advance();var e=this.input.substring(t,this.index);return ks.indexOf(e)>-1?Q(t,e):G(t,e)},t.prototype.scanNumber=function(t){var e=this.index===t;for(this.advance();;){if(V(this.peek));else if(this.peek==zo)e=!1;else{if(!rt(this.peek))break;if(this.advance(),it(this.peek)&&this.advance(),!V(this.peek))return this.error("Invalid exponent",-1);e=!1}this.advance()}var n=this.input.substring(t,this.index);return X(t,e?at(n):parseFloat(n))},t.prototype.scanString=function(){var t=this.index,e=this.peek;this.advance();for(var n="",r=this.index,i=this.input;this.peek!=e;)if(this.peek==ss){n+=i.substring(r,this.index),this.advance();var o=void 0;if(this.peek=this.peek,this.peek==ys){var s=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(s))return this.error("Invalid unicode escape [\\u"+s+"]",0);o=parseInt(s,16);for(var a=0;a<5;a++)this.advance()}else o=st(this.peek),this.advance();n+=String.fromCharCode(o),r=this.index}else{if(this.peek==To)return this.error("Unterminated quote",0);this.advance()}var u=i.substring(r,this.index);return this.advance(),Z(t,n+u)},t.prototype.error=function(t,e){var n=this.index+e;return $(n,"Lexer Error: "+t+" at column "+n+" in expression ["+this.input+"]")},t}(),Ys=function(){function t(t,e,n){this.strings=t,this.expressions=e,this.offsets=n}return t}(),Ns=function(){function t(t,e,n){this.templateBindings=t,this.warnings=e,this.errors=n}return t}(),Is=function(){function t(t){this._lexer=t,this.errors=[]}return t.prototype.parseAction=function(t,e,n){void 0===n&&(n=Cs),this._checkNoInterpolation(t,e,n);var r=this._stripComments(t),i=this._lexer.tokenize(this._stripComments(t)),o=new Rs(t,e,i,r.length,!0,this.errors,t.length-r.length).parseChain();return new bo(o,t,e,this.errors)},t.prototype.parseBinding=function(t,e,n){void 0===n&&(n=Cs);var r=this._parseBindingAst(t,e,n);return new bo(r,t,e,this.errors)},t.prototype.parseSimpleBinding=function(t,e,n){void 0===n&&(n=Cs);var r=this._parseBindingAst(t,e,n),i=js.check(r);return i.length>0&&this._reportError("Host binding expression cannot contain "+i.join(" "),t,e),new bo(r,t,e,this.errors)},t.prototype._reportError=function(t,e,n,r){this.errors.push(new Qi(t,e,n,r))},t.prototype._parseBindingAst=function(t,e,n){var r=this._parseQuote(t,e);if(null!=r)return r;this._checkNoInterpolation(t,e,n);var i=this._stripComments(t),o=this._lexer.tokenize(i);return new Rs(t,e,o,i.length,!1,this.errors,t.length-i.length).parseChain()},t.prototype._parseQuote=function(t,e){if(null==t)return null;var n=t.indexOf(":");if(-1==n)return null;var r=t.substring(0,n).trim();if(!et(r))return null;var i=t.substring(n+1);return new Xi(new Ki(0,t.length),r,i,e)},t.prototype.parseTemplateBindings=function(t,e,n){var r=this._lexer.tokenize(e);if(t){var i=this._lexer.tokenize(t).map(function(t){return t.index=0,t});r.unshift.apply(r,i)}return new Rs(e,n,r,e.length,!1,this.errors,0).parseTemplateBindings()},t.prototype.parseInterpolation=function(t,e,n){void 0===n&&(n=Cs);var r=this.splitInterpolation(t,e,n);if(null==r)return null;for(var i=[],o=0;o0?(u+=n.start.length,s.push(l),a.push(u),u+=l.length+n.end.length):(this._reportError("Blank expressions are not allowed in interpolated strings",t,"at column "+this._findInterpolationErrorColumn(i,c,n)+" in",e),s.push("$implict"),a.push(u))}return new Ys(o,s,a)},t.prototype.wrapLiteralPrimitive=function(t,e){return new bo(new co(new Ki(0,null==t?0:t.length),t),t,e,this.errors)},t.prototype._stripComments=function(t){var e=this._commentStart(t);return null!=e?t.substring(0,e).trim():t},t.prototype._commentStart=function(t){for(var e=null,n=0;n1&&this._reportError("Got interpolation ("+n.start+n.end+") where expression was expected",t,"at column "+this._findInterpolationErrorColumn(i,1,n)+" in",e)},t.prototype._findInterpolationErrorColumn=function(t,e,n){for(var r="",i=0;i":case"<=":case">=":this.advance();var n=this.parseAdditive();t=new fo(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseAdditive=function(){for(var t=this.parseMultiplicative();this.next.type==Ls.Operator;){var e=this.next.strValue;switch(e){case"+":case"-":this.advance();var n=this.parseMultiplicative();t=new fo(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseMultiplicative=function(){for(var t=this.parsePrefix();this.next.type==Ls.Operator;){var e=this.next.strValue;switch(e){case"*":case"%":case"/":this.advance();var n=this.parsePrefix();t=new fo(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parsePrefix=function(){if(this.next.type==Ls.Operator){var t=this.inputIndex,e=this.next.strValue,n=void 0;switch(e){case"+":return this.advance(),this.parsePrefix();case"-":return this.advance(),n=this.parsePrefix(),new fo(this.span(t),e,new co(new Ki(t,t),0),n);case"!":return this.advance(),n=this.parsePrefix(),new mo(this.span(t),n)}}return this.parseCallChain()},t.prototype.parseCallChain=function(){for(var t=this.parsePrimary();;)if(this.optionalCharacter(zo))t=this.parseAccessMemberOrMethodCall(t,!1);else if(this.optionalOperator("?."))t=this.parseAccessMemberOrMethodCall(t,!0);else if(this.optionalCharacter(os)){this.rbracketsExpected++;var e=this.parsePipe();if(this.rbracketsExpected--,this.expectCharacter(as),this.optionalOperator("=")){var n=this.parseConditional();t=new ao(this.span(t.span.start),t,e,n)}else t=new so(this.span(t.span.start),t,e)}else if(this.optionalCharacter(jo)){this.rparensExpected++;var r=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(Ho),t=new go(this.span(t.span.start),t,r)}else{if(!this.optionalOperator("!"))return t;t=new yo(this.span(t.span.start),t)}},t.prototype.parsePrimary=function(){var t=this.inputIndex;if(this.optionalCharacter(jo)){this.rparensExpected++;var e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(Ho),e}if(this.next.isKeywordNull())return this.advance(),new co(this.span(t),null);if(this.next.isKeywordUndefined())return this.advance(),new co(this.span(t),void 0);if(this.next.isKeywordTrue())return this.advance(),new co(this.span(t),!0);if(this.next.isKeywordFalse())return this.advance(),new co(this.span(t),!1);if(this.next.isKeywordThis())return this.advance(),new to(this.span(t));if(this.optionalCharacter(os)){this.rbracketsExpected++;var n=this.parseExpressionList(as);return this.rbracketsExpected--,this.expectCharacter(as),new lo(this.span(t),n)}if(this.next.isCharacter(bs))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new to(this.span(t)),!1);if(this.next.isNumber()){var r=this.next.toNumber();return this.advance(),new co(this.span(t),r)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new co(this.span(t),i)}return this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new $i(this.span(t))):(this.error("Unexpected token "+this.next),new $i(this.span(t)))},t.prototype.parseExpressionList=function(t){var e=[];if(!this.next.isCharacter(t))do{e.push(this.parsePipe())}while(this.optionalCharacter(Uo));return e},t.prototype.parseLiteralMap=function(){var t=[],e=[],n=this.inputIndex;if(this.expectCharacter(bs),!this.optionalCharacter(Ms)){this.rbracesExpected++;do{var r=this.next.isString(),i=this.expectIdentifierOrKeywordOrString();t.push({key:i,quoted:r}),this.expectCharacter(qo),e.push(this.parsePipe())}while(this.optionalCharacter(Uo));this.rbracesExpected--,this.expectCharacter(Ms)}return new po(this.span(n),t,e)},t.prototype.parseAccessMemberOrMethodCall=function(t,e){void 0===e&&(e=!1);var n=t.span.start,r=this.expectIdentifierOrKeyword();if(this.optionalCharacter(jo)){this.rparensExpected++;var i=this.parseCallArguments();this.expectCharacter(Ho),this.rparensExpected--;var o=this.span(n);return e?new vo(o,t,r,i):new _o(o,t,r,i)}if(e)return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new $i(this.span(n))):new oo(this.span(n),t,r);if(this.optionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new $i(this.span(n));var s=this.parseConditional();return new io(this.span(n),t,r,s)}return new ro(this.span(n),t,r)},t.prototype.parseCallArguments=function(){if(this.next.isCharacter(Ho))return[];var t=[];do{t.push(this.parsePipe())}while(this.optionalCharacter(Uo));return t},t.prototype.expectTemplateBindingKey=function(){var t="",e=!1;do{t+=this.expectIdentifierOrKeywordOrString(),(e=this.optionalOperator("-"))&&(t+="-")}while(e);return t.toString()},t.prototype.parseTemplateBindings=function(){for(var t=[],e=null,n=[];this.index0&&e<0;){i--,e++;var a=n.charCodeAt(i);if(a==Eo){o--;var u=n.substr(0,i-1).lastIndexOf(String.fromCharCode(Eo));s=u>0?i-u:i}else s--}for(;i0;){var a=n.charCodeAt(i);i++,e--,a==Eo?(o++,s=0):s++}return new t(this.file,i,o,s)},t.prototype.getContext=function(t,e){var n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);for(var i=r,o=0,s=0;o0&&(r--,o++,"\n"!=n[r]||++s!=e););for(o=0,s=0;o]"+t.after+'")':""},t.prototype.toString=function(){var t=this.span.details?", "+this.span.details:"";return""+this.msg+this.contextualMessage()+": "+this.span.start+t},t}(),zs=(function(){function t(t,e){void 0===e&&(e=-1),this.path=t,this.position=e}Object.defineProperty(t.prototype,"empty",{get:function(){return!this.path||!this.path.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"head",{get:function(){return this.path[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tail",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),t.prototype.parentOf=function(t){return t&&this.path[this.path.indexOf(t)-1]},t.prototype.childOf=function(t){return this.path[this.path.indexOf(t)+1]},t.prototype.first=function(t){for(var e=this.path.length-1;e>=0;e--){var n=this.path[e];if(n instanceof t)return n}},t.prototype.push=function(t){this.path.push(t)},t.prototype.pop=function(){return this.path.pop()}}(),function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}()),Bs=function(){function t(t,e,n,r,i){this.switchValue=t,this.type=e,this.cases=n,this.sourceSpan=r,this.switchValueSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansion(this,e)},t}(),qs=function(){function t(t,e,n,r,i){this.value=t,this.expression=e,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansionCase(this,e)},t}(),Js=function(){function t(t,e,n,r){this.name=t,this.value=e,this.sourceSpan=n,this.valueSpan=r}return t.prototype.visit=function(t,e){return t.visitAttribute(this,e)},t}(),Gs=function(){function t(t,e,n,r,i,o){void 0===i&&(i=null),void 0===o&&(o=null),this.name=t,this.attrs=e,this.children=n,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=o}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),Qs=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitComment(this,e)},t}(),Ks=(function(){function t(){}t.prototype.visitElement=function(t,e){this.visitChildren(e,function(e){e(t.attrs),e(t.children)})},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){return this.visitChildren(e,function(e){e(t.cases)})},t.prototype.visitExpansionCase=function(t,e){},t.prototype.visitChildren=function(t,e){function n(e){e&&r.push(lt(i,e,t))}var r=[],i=this;return e(n),[].concat.apply([],r)}}(),{});Ks.TAG_OPEN_START=0,Ks.TAG_OPEN_END=1,Ks.TAG_OPEN_END_VOID=2,Ks.TAG_CLOSE=3,Ks.TEXT=4,Ks.ESCAPABLE_RAW_TEXT=5,Ks.RAW_TEXT=6,Ks.COMMENT_START=7,Ks.COMMENT_END=8,Ks.CDATA_START=9,Ks.CDATA_END=10,Ks.ATTR_NAME=11,Ks.ATTR_VALUE=12,Ks.DOC_TYPE=13,Ks.EXPANSION_FORM_START=14,Ks.EXPANSION_CASE_VALUE=15,Ks.EXPANSION_CASE_EXP_START=16,Ks.EXPANSION_CASE_EXP_END=17,Ks.EXPANSION_FORM_END=18,Ks.EOF=19,Ks[Ks.TAG_OPEN_START]="TAG_OPEN_START",Ks[Ks.TAG_OPEN_END]="TAG_OPEN_END",Ks[Ks.TAG_OPEN_END_VOID]="TAG_OPEN_END_VOID",Ks[Ks.TAG_CLOSE]="TAG_CLOSE",Ks[Ks.TEXT]="TEXT",Ks[Ks.ESCAPABLE_RAW_TEXT]="ESCAPABLE_RAW_TEXT",Ks[Ks.RAW_TEXT]="RAW_TEXT",Ks[Ks.COMMENT_START]="COMMENT_START",Ks[Ks.COMMENT_END]="COMMENT_END",Ks[Ks.CDATA_START]="CDATA_START",Ks[Ks.CDATA_END]="CDATA_END",Ks[Ks.ATTR_NAME]="ATTR_NAME",Ks[Ks.ATTR_VALUE]="ATTR_VALUE",Ks[Ks.DOC_TYPE]="DOC_TYPE",Ks[Ks.EXPANSION_FORM_START]="EXPANSION_FORM_START",Ks[Ks.EXPANSION_CASE_VALUE]="EXPANSION_CASE_VALUE",Ks[Ks.EXPANSION_CASE_EXP_START]="EXPANSION_CASE_EXP_START",Ks[Ks.EXPANSION_CASE_EXP_END]="EXPANSION_CASE_EXP_END",Ks[Ks.EXPANSION_FORM_END]="EXPANSION_FORM_END",Ks[Ks.EOF]="EOF";var Zs=function(){function t(t,e,n){this.type=t,this.parts=e,this.sourceSpan=n}return t}(),Xs=function(t){function e(e,n,r){var i=t.call(this,r,e)||this;return i.tokenType=n,i}return $r.a(e,t),e}(Ws),$s=function(){function t(t,e){this.tokens=t,this.errors=e}return t}(),ta=/\r\n?/g,ea=function(){function t(t){this.error=t}return t}(),na=function(){function t(t,e,n,r){void 0===r&&(r=Cs),this._file=t,this._getTagDefinition=e,this._tokenizeIcu=n,this._interpolationConfig=r,this._peek=-1,this._nextPeek=-1,this._index=-1,this._line=0,this._column=-1,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this._input=t.content,this._length=t.content.length,this._advance()}return t.prototype._processCarriageReturns=function(t){return t.replace(ta,"\n")},t.prototype.tokenize=function(){for(;this._peek!==To;){var t=this._getLocation();try{this._attemptCharCode(Go)?this._attemptCharCode(Oo)?this._attemptCharCode(os)?this._consumeCdata(t):this._attemptCharCode(Wo)?this._consumeComment(t):this._consumeDocType(t):this._attemptCharCode(Bo)?this._consumeTagClose(t):this._consumeTagOpen(t):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(t){if(!(t instanceof ea))throw t;this.errors.push(t.error)}}return this._beginToken(Ks.EOF),this._endToken([]),new $s(St(this.tokens),this.errors)},t.prototype._tokenizeExpansionForm=function(){if(gt(this._input,this._index,this._interpolationConfig))return this._consumeExpansionFormStart(),!0;if(bt(this._peek)&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._peek===Ms){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1},t.prototype._getLocation=function(){return new Hs(this._file,this._index,this._line,this._column)},t.prototype._getSpan=function(t,e){return void 0===t&&(t=this._getLocation()),void 0===e&&(e=this._getLocation()),new Vs(t,e)},t.prototype._beginToken=function(t,e){void 0===e&&(e=this._getLocation()),this._currentTokenStart=e,this._currentTokenType=t},t.prototype._endToken=function(t,e){void 0===e&&(e=this._getLocation());var n=new Zs(this._currentTokenType,t,new Vs(this._currentTokenStart,e));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n},t.prototype._createError=function(t,e){this._isInExpansionForm()&&(t+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var n=new Xs(t,this._currentTokenType,e);return this._currentTokenStart=null,this._currentTokenType=null,new ea(n)},t.prototype._advance=function(){if(this._index>=this._length)throw this._createError(ht(To),this._getSpan());this._peek===Eo?(this._line++,this._column=0):this._peek!==Eo&&this._peek!==ko&&this._column++,this._index++,this._peek=this._index>=this._length?To:this._input.charCodeAt(this._index),this._nextPeek=this._index+1>=this._length?To:this._input.charCodeAt(this._index+1)},t.prototype._attemptCharCode=function(t){return this._peek===t&&(this._advance(),!0)},t.prototype._attemptCharCodeCaseInsensitive=function(t){return!!wt(this._peek,t)&&(this._advance(),!0)},t.prototype._requireCharCode=function(t){var e=this._getLocation();if(!this._attemptCharCode(t))throw this._createError(ht(this._peek),this._getSpan(e,e))},t.prototype._attemptStr=function(t){var e=t.length;if(this._index+e>this._length)return!1;for(var n=this._savePosition(),r=0;rr.offset&&o.push(this._input.substring(r.offset,this._index));this._peek!==e;)o.push(this._readChar(t))}return this._endToken([this._processCarriageReturns(o.join(""))],r)},t.prototype._consumeComment=function(t){var e=this;this._beginToken(Ks.COMMENT_START,t),this._requireCharCode(Wo),this._endToken([]);var n=this._consumeRawText(!1,Wo,function(){return e._attemptStr("->")});this._beginToken(Ks.COMMENT_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeCdata=function(t){var e=this;this._beginToken(Ks.CDATA_START,t),this._requireStr("CDATA["),this._endToken([]);var n=this._consumeRawText(!1,as,function(){return e._attemptStr("]>")});this._beginToken(Ks.CDATA_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeDocType=function(t){this._beginToken(Ks.DOC_TYPE,t),this._attemptUntilChar(Ko),this._advance(),this._endToken([this._input.substring(t.offset+2,this._index-1)])},t.prototype._consumePrefixAndName=function(){for(var t=this._index,e=null;this._peek!==qo&&!yt(this._peek);)this._advance();var n;return this._peek===qo?(this._advance(),e=this._input.substring(t,this._index-1),n=this._index):n=t,this._requireCharCodeUntilFn(mt,this._index===n?1:0),[e,this._input.substring(n,this._index)]},t.prototype._consumeTagOpen=function(t){var e,n,r=this._savePosition();try{if(!U(this._peek))throw this._createError(ht(this._peek),this._getSpan());var i=this._index;for(this._consumeTagOpenStart(t),e=this._input.substring(i,this._index),n=e.toLowerCase(),this._attemptCharCodeUntilFn(dt);this._peek!==Bo&&this._peek!==Ko;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(dt),this._attemptCharCode(Qo)&&(this._attemptCharCodeUntilFn(dt),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(dt);this._consumeTagOpenEnd()}catch(e){if(e instanceof ea)return this._restorePosition(r),this._beginToken(Ks.TEXT,t),void this._endToken(["<"]);throw e}var o=this._getTagDefinition(e).contentType;o===gi.RAW_TEXT?this._consumeRawTextWithTagClose(n,!1):o===gi.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,!0)},t.prototype._consumeRawTextWithTagClose=function(t,e){var n=this,r=this._consumeRawText(e,Go,function(){return!!n._attemptCharCode(Bo)&&(n._attemptCharCodeUntilFn(dt),!!n._attemptStrCaseInsensitive(t)&&(n._attemptCharCodeUntilFn(dt),n._attemptCharCode(Ko)))});this._beginToken(Ks.TAG_CLOSE,r.sourceSpan.end),this._endToken([null,t])},t.prototype._consumeTagOpenStart=function(t){this._beginToken(Ks.TAG_OPEN_START,t);var e=this._consumePrefixAndName();this._endToken(e)},t.prototype._consumeAttributeName=function(){this._beginToken(Ks.ATTR_NAME);var t=this._consumePrefixAndName();this._endToken(t)},t.prototype._consumeAttributeValue=function(){this._beginToken(Ks.ATTR_VALUE);var t;if(this._peek===Ro||this._peek===Po){var e=this._peek;this._advance();for(var n=[];this._peek!==e;)n.push(this._readChar(!0));t=n.join(""),this._advance()}else{var r=this._index;this._requireCharCodeUntilFn(mt,1),t=this._input.substring(r,this._index)}this._endToken([this._processCarriageReturns(t)])},t.prototype._consumeTagOpenEnd=function(){var t=this._attemptCharCode(Bo)?Ks.TAG_OPEN_END_VOID:Ks.TAG_OPEN_END;this._beginToken(t),this._requireCharCode(Ko),this._endToken([])},t.prototype._consumeTagClose=function(t){this._beginToken(Ks.TAG_CLOSE,t),this._attemptCharCodeUntilFn(dt);var e=this._consumePrefixAndName();this._attemptCharCodeUntilFn(dt),this._requireCharCode(Ko),this._endToken(e)},t.prototype._consumeExpansionFormStart=function(){this._beginToken(Ks.EXPANSION_FORM_START,this._getLocation()),this._requireCharCode(bs),this._endToken([]),this._expansionCaseStack.push(Ks.EXPANSION_FORM_START),this._beginToken(Ks.RAW_TEXT,this._getLocation());var t=this._readUntil(Uo);this._endToken([t],this._getLocation()),this._requireCharCode(Uo),this._attemptCharCodeUntilFn(dt),this._beginToken(Ks.RAW_TEXT,this._getLocation());var e=this._readUntil(Uo);this._endToken([e],this._getLocation()),this._requireCharCode(Uo),this._attemptCharCodeUntilFn(dt)},t.prototype._consumeExpansionCaseStart=function(){this._beginToken(Ks.EXPANSION_CASE_VALUE,this._getLocation());var t=this._readUntil(bs).trim();this._endToken([t],this._getLocation()),this._attemptCharCodeUntilFn(dt),this._beginToken(Ks.EXPANSION_CASE_EXP_START,this._getLocation()),this._requireCharCode(bs),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(dt),this._expansionCaseStack.push(Ks.EXPANSION_CASE_EXP_START)},t.prototype._consumeExpansionCaseEnd=function(){this._beginToken(Ks.EXPANSION_CASE_EXP_END,this._getLocation()),this._requireCharCode(Ms),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(dt),this._expansionCaseStack.pop()},t.prototype._consumeExpansionFormEnd=function(){this._beginToken(Ks.EXPANSION_FORM_END,this._getLocation()),this._requireCharCode(Ms),this._endToken([]),this._expansionCaseStack.pop()},t.prototype._consumeText=function(){var t=this._getLocation();this._beginToken(Ks.TEXT,t);var e=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(e.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(e.push(this._interpolationConfig.end),this._inInterpolation=!1):e.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(e.join(""))])},t.prototype._isTextEnd=function(){if(this._peek===Go||this._peek===To)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(gt(this._input,this._index,this._interpolationConfig))return!0;if(this._peek===Ms&&this._isInExpansionCase())return!0}return!1},t.prototype._savePosition=function(){return[this._peek,this._index,this._column,this._line,this.tokens.length]},t.prototype._readUntil=function(t){var e=this._index;return this._attemptUntilChar(t),this._input.substring(e,this._index)},t.prototype._restorePosition=function(t){this._peek=t[0],this._index=t[1],this._column=t[2],this._line=t[3];var e=t[4];e0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Ks.EXPANSION_CASE_EXP_START},t.prototype._isInExpansionForm=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Ks.EXPANSION_FORM_START},t}(),ra=function(t){function e(e,n,r){var i=t.call(this,n,r)||this;return i.elementName=e,i}return $r.a(e,t),e.create=function(t,n,r){return new e(t,n,r)},e}(Ws),ia=function(){function t(t,e){this.rootNodes=t,this.errors=e}return t}(),oa=function(){function t(t){this.getTagDefinition=t}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=Cs);var i=pt(t,e,this.getTagDefinition,n,r),o=new sa(i.tokens,this.getTagDefinition).build();return new ia(o.rootNodes,i.errors.concat(o.errors))},t}(),sa=function(){function t(t,e){this.tokens=t,this.getTagDefinition=e,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return t.prototype.build=function(){for(;this._peek.type!==Ks.EOF;)this._peek.type===Ks.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Ks.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===Ks.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Ks.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Ks.TEXT||this._peek.type===Ks.RAW_TEXT||this._peek.type===Ks.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Ks.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new ia(this._rootNodes,this._errors)},t.prototype._advance=function(){var t=this._peek;return this._index0)return this._errors=this._errors.concat(o.errors),null;var s=new Vs(e.sourceSpan.start,i.sourceSpan.end),a=new Vs(n.sourceSpan.start,i.sourceSpan.end);return new qs(e.parts[0],o.rootNodes,s,e.sourceSpan,a)},t.prototype._collectExpansionExpTokens=function(t){for(var e=[],n=[Ks.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==Ks.EXPANSION_FORM_START&&this._peek.type!==Ks.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===Ks.EXPANSION_CASE_EXP_END){if(!Tt(n,Ks.EXPANSION_CASE_EXP_START))return this._errors.push(ra.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return e}if(this._peek.type===Ks.EXPANSION_FORM_END){if(!Tt(n,Ks.EXPANSION_FORM_START))return this._errors.push(ra.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===Ks.EOF)return this._errors.push(ra.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;e.push(this._advance())}},t.prototype._consumeText=function(t){var e=t.parts[0];if(e.length>0&&"\n"==e[0]){var n=this._getParentElement();null!=n&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(e=e.substring(1))}e.length>0&&this._addToParent(new zs(e,t.sourceSpan))},t.prototype._closeVoidElement=function(){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isVoid&&this._elementStack.pop()},t.prototype._consumeStartTag=function(t){for(var e=t.parts[0],n=t.parts[1],r=[];this._peek.type===Ks.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));var i=this._getElementFullName(e,n,this._getParentElement()),o=!1;if(this._peek.type===Ks.TAG_OPEN_END_VOID){this._advance(),o=!0;var s=this.getTagDefinition(i);s.canSelfClose||null!==u(i)||s.isVoid||this._errors.push(ra.create(i,t.sourceSpan,'Only void and foreign elements can be self closed "'+t.parts[1]+'"'))}else this._peek.type===Ks.TAG_OPEN_END&&(this._advance(),o=!1);var a=this._peek.sourceSpan.start,c=new Vs(t.sourceSpan.start,a),l=new Gs(i,r,[],c,c,void 0);this._pushElement(l),o&&(this._popElement(i),l.endSourceSpan=c)},t.prototype._pushElement=function(t){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isClosedByChild(t.name)&&this._elementStack.pop();var n=this.getTagDefinition(t.name),r=this._getParentElementSkippingContainers(),i=r.parent,o=r.container;if(i&&n.requireExtraParent(i.name)){var s=new Gs(n.parentToAdd,[],[],t.sourceSpan,t.startSourceSpan,t.endSourceSpan);this._insertBeforeContainer(i,o,s)}this._addToParent(t),this._elementStack.push(t)},t.prototype._consumeEndTag=function(t){var e=this._getElementFullName(t.parts[0],t.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=t.sourceSpan),this.getTagDefinition(e).isVoid)this._errors.push(ra.create(e,t.sourceSpan,'Void elements do not have end tags "'+t.parts[1]+'"'));else if(!this._popElement(e)){var n='Unexpected closing tag "'+e+'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags';this._errors.push(ra.create(e,t.sourceSpan,n))}},t.prototype._popElement=function(t){for(var e=this._elementStack.length-1;e>=0;e--){var n=this._elementStack[e];if(n.name==t)return this._elementStack.splice(e,this._elementStack.length-e),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1},t.prototype._consumeAttr=function(t){var e=c(t.parts[0],t.parts[1]),n=t.sourceSpan.end,r="",i=void 0;if(this._peek.type===Ks.ATTR_VALUE){var o=this._advance();r=o.parts[0],n=o.sourceSpan.end,i=o.sourceSpan}return new Js(e,r,new Vs(t.sourceSpan.start,n),i)},t.prototype._getParentElement=function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null},t.prototype._getParentElementSkippingContainers=function(){for(var t=null,e=this._elementStack.length-1;e>=0;e--){if(!o(this._elementStack[e].name))return{parent:this._elementStack[e],container:t};t=this._elementStack[e]}return{parent:null,container:t}},t.prototype._addToParent=function(t){var e=this._getParentElement();null!=e?e.children.push(t):this._rootNodes.push(t)},t.prototype._insertBeforeContainer=function(t,e,n){if(e){if(t){var r=t.children.indexOf(e);t.children[r]=n}else this._rootNodes.push(n);n.children.push(e),this._elementStack.splice(this._elementStack.indexOf(e),0,n)}else this._addToParent(n),this._elementStack.push(n)},t.prototype._getElementFullName=function(t,e,n){return null==t&&null==(t=this.getTagDefinition(e).implicitNamespacePrefix)&&null!=n&&(t=u(n.name)),c(t,e)},t}(),aa=function(){function t(){}return t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return"["+t.children.map(function(t){return t.visit(n)}).join(", ")+"]"},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.expression+", "+t.type+", "+r.join(", ")+"}"},t.prototype.visitTagPlaceholder=function(t,e){var n=this;return t.isVoid?'':''+t.children.map(function(t){return t.visit(n)}).join(", ")+''},t.prototype.visitPlaceholder=function(t,e){return t.value?''+t.value+"":''},t.prototype.visitIcuPlaceholder=function(t,e){return''+t.value.visit(this)+""},t}(),ua=new aa,ca=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return $r.a(e,t),e.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.type+", "+r.join(", ")+"}"},e}(aa),la={};la.Little=0,la.Big=1,la[la.Little]="Little",la[la.Big]="Big";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var pa=function(){function t(t,e,n,r,i,o){this.nodes=t,this.placeholders=e,this.placeholderToMessage=n,this.meaning=r,this.description=i,this.id=o,t.length?this.sources=[{filePath:t[0].sourceSpan.start.file.url,startLine:t[0].sourceSpan.start.line+1,startCol:t[0].sourceSpan.start.col+1,endLine:t[t.length-1].sourceSpan.end.line+1,endCol:t[0].sourceSpan.start.col+1}]:this.sources=[]}return t}(),ha=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),fa=function(){function t(t,e){this.children=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitContainer(this,e)},t}(),da=function(){function t(t,e,n,r){this.expression=t,this.type=e,this.cases=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitIcu(this,e)},t}(),ma=function(){function t(t,e,n,r,i,o,s){this.tag=t,this.attrs=e,this.startName=n,this.closeName=r,this.children=i,this.isVoid=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return t.visitTagPlaceholder(this,e)},t}(),ya=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitPlaceholder(this,e)},t}(),_a=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitIcuPlaceholder(this,e)},t}(),va=function(){function t(){}return t.prototype.visitText=function(t,e){return new ha(t.value,t.sourceSpan)},t.prototype.visitContainer=function(t,e){var n=this,r=t.children.map(function(t){return t.visit(n,e)});return new fa(r,t.sourceSpan)},t.prototype.visitIcu=function(t,e){var n=this,r={};Object.keys(t.cases).forEach(function(i){return r[i]=t.cases[i].visit(n,e)});var i=new da(t.expression,t.type,r,t.sourceSpan);return i.expressionPlaceholder=t.expressionPlaceholder,i},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=t.children.map(function(t){return t.visit(n,e)});return new ma(t.tag,t.attrs,t.startName,t.closeName,r,t.isVoid,t.sourceSpan)},t.prototype.visitPlaceholder=function(t,e){return new ya(t.value,t.name,t.sourceSpan)},t.prototype.visitIcuPlaceholder=function(t,e){return new _a(t.value,t.name,t.sourceSpan)},t}(),ga=function(){function t(){}return t.prototype.visitText=function(t,e){},t.prototype.visitContainer=function(t,e){var n=this;t.children.forEach(function(t){return t.visit(n)})},t.prototype.visitIcu=function(t,e){var n=this;Object.keys(t.cases).forEach(function(e){t.cases[e].visit(n)})},t.prototype.visitTagPlaceholder=function(t,e){var n=this;t.children.forEach(function(t){return t.visit(n)})},t.prototype.visitPlaceholder=function(t,e){},t.prototype.visitIcuPlaceholder=function(t,e){},t}(),ba={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"},wa=function(){function t(){this._placeHolderNameCounts={},this._signatureToName={}}return t.prototype.getStartTagPlaceholderName=function(t,e,n){var r=this._hashTag(t,e,n);if(this._signatureToName[r])return this._signatureToName[r];var i=t.toUpperCase(),o=ba[i]||"TAG_"+i,s=this._generateUniqueName(n?o:"START_"+o);return this._signatureToName[r]=s,s},t.prototype.getCloseTagPlaceholderName=function(t){var e=this._hashClosingTag(t);if(this._signatureToName[e])return this._signatureToName[e];var n=t.toUpperCase(),r=ba[n]||"TAG_"+n,i=this._generateUniqueName("CLOSE_"+r);return this._signatureToName[e]=i,i},t.prototype.getPlaceholderName=function(t,e){var n=t.toUpperCase(),r="PH: "+n+"="+e;if(this._signatureToName[r])return this._signatureToName[r];var i=this._generateUniqueName(n);return this._signatureToName[r]=i,i},t.prototype.getUniquePlaceholder=function(t){return this._generateUniqueName(t.toUpperCase())},t.prototype._hashTag=function(t,e,n){return"<"+t+Object.keys(e).sort().map(function(t){return" "+t+"="+e[t]}).join("")+(n?"/>":">")},t.prototype._hashClosingTag=function(t){return this._hashTag("/"+t,{},!1)},t.prototype._generateUniqueName=function(t){if(!this._placeHolderNameCounts.hasOwnProperty(t))return this._placeHolderNameCounts[t]=1,t;var e=this._placeHolderNameCounts[t];return this._placeHolderNameCounts[t]=e+1,t+"_"+e},t}(),Ma=new Is(new Ds),Sa=function(){function t(t,e){this._expressionParser=t,this._interpolationConfig=e}return t.prototype.toI18nMessage=function(t,e,n,r){this._isIcu=1==t.length&&t[0]instanceof Bs,this._icuDepth=0,this._placeholderRegistry=new wa,this._placeholderToContent={},this._placeholderToMessage={};var i=lt(this,t,{});return new pa(i,this._placeholderToContent,this._placeholderToMessage,e,n,r)},t.prototype.visitElement=function(t,e){var n=lt(this,t.children),r={};t.attrs.forEach(function(t){r[t.name]=t.value});var i=l(t.name).isVoid,o=this._placeholderRegistry.getStartTagPlaceholderName(t.name,r,i);this._placeholderToContent[o]=t.sourceSpan.toString();var s="";return i||(s=this._placeholderRegistry.getCloseTagPlaceholderName(t.name),this._placeholderToContent[s]=""),new ma(t.name,r,o,s,n,i,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitExpansion=function(e,n){var r=this;this._icuDepth++;var i={},o=new da(e.switchValue,e.type,i,e.sourceSpan);if(e.cases.forEach(function(t){i[t.value]=new fa(t.expression.map(function(t){return t.visit(r,{})}),t.expSourceSpan)}),this._icuDepth--,this._isIcu||this._icuDepth>0){var s=this._placeholderRegistry.getUniquePlaceholder("VAR_"+e.type);return o.expressionPlaceholder=s,this._placeholderToContent[s]=e.switchValue,o}var a=this._placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString()),u=new t(this._expressionParser,this._interpolationConfig);return this._placeholderToMessage[a]=u.toI18nMessage([e],"","",""),new _a(o,a,e.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Unreachable code")},t.prototype._visitTextWithInterpolation=function(t,e){var n=this._expressionParser.splitInterpolation(t,e.start.toString(),this._interpolationConfig);if(!n)return new ha(t,e);for(var r=[],i=new fa(r,e),o=this._interpolationConfig,s=o.start,a=o.end,u=0;u=n;r--){var i=this._messages[r].nodes;if(!(1==i.length&&i[0]instanceof ha)){this._messages.splice(r,1);break}}this._msgCountAtSectionStart=void 0},t.prototype._reportError=function(t,e){this._errors.push(new xa(t.sourceSpan,e))},t}(),Ya=function(){function t(){this.closedByParent=!1,this.contentType=gi.PARSABLE_DATA,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0}return t.prototype.requireExtraParent=function(t){return!1},t.prototype.isClosedByChild=function(t){return!1},t}(),Na=new Ya,Ia=function(t){function e(){return t.call(this,re)||this}return $r.a(e,t),e.prototype.parse=function(e,n,r){return void 0===r&&(r=!1),t.prototype.parse.call(this,e,n,r)},e}(oa),Ra=function(){function t(){}return t.prototype.write=function(t,e){},t.prototype.load=function(t,e){},t.prototype.digest=function(t){},t.prototype.createNameMapper=function(t){return null},t}(),ja=function(t){function e(e,n){var r=t.call(this)||this;return r.mapName=n,r.internalToPublic={},r.publicToNextId={},r.publicToInternal={},e.nodes.forEach(function(t){return t.visit(r)}),r}return $r.a(e,t),e.prototype.toPublicName=function(t){return this.internalToPublic.hasOwnProperty(t)?this.internalToPublic[t]:null},e.prototype.toInternalName=function(t){return this.publicToInternal.hasOwnProperty(t)?this.publicToInternal[t]:null},e.prototype.visitText=function(t,e){return null},e.prototype.visitTagPlaceholder=function(e,n){this.visitPlaceholderName(e.startName),t.prototype.visitTagPlaceholder.call(this,e,n),this.visitPlaceholderName(e.closeName)},e.prototype.visitPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},e.prototype.visitIcuPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},e.prototype.visitPlaceholderName=function(t){if(t&&!this.internalToPublic.hasOwnProperty(t)){var e=this.mapName(t);if(this.publicToInternal.hasOwnProperty(e)){var n=this.publicToNextId[e];this.publicToNextId[e]=n+1,e=e+"_"+n}else this.publicToNextId[e]=1;this.internalToPublic[t]=e,this.publicToInternal[e]=t}},e}(ga),Ha=function(){function t(){}return t.prototype.visitTag=function(t){var e=this,n=this._serializeAttributes(t.attrs);if(0==t.children.length)return"<"+t.name+n+"/>";var r=t.children.map(function(t){return t.visit(e)});return"<"+t.name+n+">"+r.join("")+""},t.prototype.visitText=function(t){return t.value},t.prototype.visitDeclaration=function(t){return""},t.prototype._serializeAttributes=function(t){var e=Object.keys(t).map(function(e){return e+'="'+t[e]+'"'}).join(" ");return e.length>0?" "+e:""},t.prototype.visitDoctype=function(t){return""},t}(),Fa=new Ha,Va=function(){function t(t){var e=this;this.attrs={},Object.keys(t).forEach(function(n){e.attrs[n]=oe(t[n])})}return t.prototype.visit=function(t){return t.visitDeclaration(this)},t}(),Ua=function(){function t(t,e){this.rootTag=t,this.dtd=e}return t.prototype.visit=function(t){return t.visitDoctype(this)},t}(),Wa=function(){function t(t,e,n){void 0===e&&(e={}),void 0===n&&(n=[]);var r=this;this.name=t,this.children=n,this.attrs={},Object.keys(e).forEach(function(t){r.attrs[t]=oe(e[t])})}return t.prototype.visit=function(t){return t.visitTag(this)},t}(),za=function(){function t(t){this.value=oe(t)}return t.prototype.visit=function(t){return t.visitText(this)},t}(),Ba=function(t){function e(e){return void 0===e&&(e=0),t.call(this,"\n"+new Array(e+1).join(" "))||this}return $r.a(e,t),e}(za),qa=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[//g,">"]],Ja="1.2",Ga="urn:oasis:names:tc:xliff:document:1.2",Qa="en",Ka="x",Za="file",Xa="source",$a="target",tu="trans-unit",eu="context-group",nu="context",ru=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return $r.a(e,t),e.prototype.write=function(t,e){var n=new iu,r=[];t.forEach(function(t){var e=[];t.sources.forEach(function(t){var n=new Wa(eu,{purpose:"location"});n.children.push(new Ba(10),new Wa(nu,{"context-type":"sourcefile"},[new za(t.filePath)]),new Ba(10),new Wa(nu,{"context-type":"linenumber"},[new za(""+t.startLine)]),new Ba(8)),e.push(new Ba(8),n)});var i=new Wa(tu,{id:t.id,datatype:"html"});(o=i.children).push.apply(o,[new Ba(8),new Wa(Xa,{},n.serialize(t.nodes))].concat(e)),t.description&&i.children.push(new Ba(8),new Wa("note",{priority:"1",from:"description"},[new za(t.description)])),t.meaning&&i.children.push(new Ba(8),new Wa("note",{priority:"1",from:"meaning"},[new za(t.meaning)])),i.children.push(new Ba(6)),r.push(new Ba(6),i);var o});var i=new Wa("body",{},r.concat([new Ba(4)])),o=new Wa("file",{"source-language":e||Qa,datatype:"plaintext",original:"ng2.template"},[new Ba(4),i,new Ba(2)]),s=new Wa("xliff",{version:Ja,xmlns:Ga},[new Ba(2),o,new Ba]);return ie([new Va({version:"1.0",encoding:"UTF-8"}),new Ba,s,new Ba])},e.prototype.load=function(t,e){var n=new ou,r=n.parse(t,e),i=r.locale,o=r.msgIdToHtml,s=r.errors,a={},u=new su;if(Object.keys(o).forEach(function(t){var n=u.convert(o[t],e),r=n.i18nNodes,i=n.errors;s.push.apply(s,i),a[t]=r}),s.length)throw new Error("xliff parse errors:\n"+s.join("\n"));return{locale:i,i18nNodesByMsgId:a}},e.prototype.digest=function(t){return xt(t)},e}(Ra),iu=function(){function t(){}return t.prototype.visitText=function(t,e){return[new za(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new za("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new za(e+" {")].concat(t.cases[e].visit(n),[new za("} ")]))}),r.push(new za("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=se(t.tag),r=new Wa(Ka,{id:t.startName,ctype:n});if(t.isVoid)return[r];var i=new Wa(Ka,{id:t.closeName,ctype:n});return[r].concat(this.serialize(t.children),[i])},t.prototype.visitPlaceholder=function(t,e){return[new Wa(Ka,{id:t.name})]},t.prototype.visitIcuPlaceholder=function(t,e){return[new Wa(Ka,{id:t.name})]},t.prototype.serialize=function(t){var e=this;return[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),ou=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._unitMlString=null,this._msgIdToHtml={};var n=(new Ia).parse(t,e,!1);return this._errors=n.errors,lt(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case tu:this._unitMlString=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(lt(this,t.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,"<"+tu+'> misses the "id" attribute');break;case Xa:break;case $a:var i=t.startSourceSpan.end.offset,o=t.endSourceSpan.start.offset,s=t.startSourceSpan.start.file.content,a=s.slice(i,o);this._unitMlString=a;break;case Za:var u=t.attrs.find(function(t){return"target-language"===t.name});u&&(this._locale=u.value),lt(this,t.children,null);break;default:lt(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new xa(t.sourceSpan,e))},t}(),su=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Ia).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:lt(this,n.rootNodes),errors:this._errors}},t.prototype.visitText=function(t,e){return new ha(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){if(t.name===Ka){var n=t.attrs.find(function(t){return"id"===t.name});if(n)return new ya("",n.value,t.sourceSpan);this._addError(t,"<"+Ka+'> misses the "id" attribute')}else this._addError(t,"Unexpected tag");return null},t.prototype.visitExpansion=function(t,e){var n={};return lt(this,t.cases).forEach(function(e){n[e.value]=new fa(e.nodes,t.sourceSpan)}),new da(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:lt(this,t.expression)}},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new xa(t.sourceSpan,e))},t}(),au="2.0",uu="urn:oasis:names:tc:xliff:document:2.0",cu="en",lu="ph",pu="pc",hu="xliff",fu="source",du="target",mu="unit",yu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return $r.a(e,t),e.prototype.write=function(t,e){var n=new _u,r=[];t.forEach(function(t){var e=new Wa(mu,{id:t.id}),i=new Wa("notes");(t.description||t.meaning)&&(t.description&&i.children.push(new Ba(8),new Wa("note",{category:"description"},[new za(t.description)])),t.meaning&&i.children.push(new Ba(8),new Wa("note",{category:"meaning"},[new za(t.meaning)]))),t.sources.forEach(function(t){i.children.push(new Ba(8),new Wa("note",{category:"location"},[new za(t.filePath+":"+t.startLine+(t.endLine!==t.startLine?","+t.endLine:""))]))}),i.children.push(new Ba(6)),e.children.push(new Ba(6),i);var o=new Wa("segment");o.children.push(new Ba(8),new Wa(fu,{},n.serialize(t.nodes)),new Ba(6)),e.children.push(new Ba(6),o,new Ba(4)),r.push(new Ba(4),e)});var i=new Wa("file",{original:"ng.template",id:"ngi18n"},r.concat([new Ba(2)])),o=new Wa(hu,{version:au,xmlns:uu,srcLang:e||cu},[new Ba(2),i,new Ba]);return ie([new Va({version:"1.0",encoding:"UTF-8"}),new Ba,o,new Ba])},e.prototype.load=function(t,e){var n=new vu,r=n.parse(t,e),i=r.locale,o=r.msgIdToHtml,s=r.errors,a={},u=new gu;if(Object.keys(o).forEach(function(t){var n=u.convert(o[t],e),r=n.i18nNodes,i=n.errors;s.push.apply(s,i),a[t]=r}),s.length)throw new Error("xliff2 parse errors:\n"+s.join("\n"));return{locale:i,i18nNodesByMsgId:a}},e.prototype.digest=function(t){return Et(t)},e}(Ra),_u=function(){function t(){}return t.prototype.visitText=function(t,e){return[new za(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new za("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new za(e+" {")].concat(t.cases[e].visit(n),[new za("} ")]))}),r.push(new za("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=ae(t.tag);if(t.isVoid){return[new Wa(lu,{id:(this._nextPlaceholderId++).toString(),equiv:t.startName,type:r,disp:"<"+t.tag+"/>"})]}var i=new Wa(pu,{id:(this._nextPlaceholderId++).toString(),equivStart:t.startName,equivEnd:t.closeName,type:r,dispStart:"<"+t.tag+">",dispEnd:""}),o=[].concat.apply([],t.children.map(function(t){return t.visit(n)}));return o.length?o.forEach(function(t){return i.children.push(t)}):i.children.push(new za("")),[i]},t.prototype.visitPlaceholder=function(t,e){var n=(this._nextPlaceholderId++).toString();return[new Wa(lu,{id:n,equiv:t.name,disp:"{{"+t.value+"}}"})]},t.prototype.visitIcuPlaceholder=function(t,e){var n=Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" "),r=(this._nextPlaceholderId++).toString();return[new Wa(lu,{id:r,equiv:t.name,disp:"{"+t.value.expression+", "+t.value.type+", "+n+"}"})]},t.prototype.serialize=function(t){var e=this;return this._nextPlaceholderId=0,[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),vu=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._unitMlString=null,this._msgIdToHtml={};var n=(new Ia).parse(t,e,!1);return this._errors=n.errors,lt(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case mu:this._unitMlString=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(lt(this,t.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,"<"+mu+'> misses the "id" attribute');break;case fu:break;case du:var i=t.startSourceSpan.end.offset,o=t.endSourceSpan.start.offset,s=t.startSourceSpan.start.file.content,a=s.slice(i,o);this._unitMlString=a;break;case hu:var u=t.attrs.find(function(t){return"trgLang"===t.name});u&&(this._locale=u.value);var c=t.attrs.find(function(t){return"version"===t.name});if(c){var l=c.value;"2.0"!==l?this._addError(t,"The XLIFF file version "+l+" is not compatible with XLIFF 2.0 serializer"):lt(this,t.children,null)}break;default:lt(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new xa(t.sourceSpan,e))},t}(),gu=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Ia).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat.apply([],lt(this,n.rootNodes)),errors:this._errors}},t.prototype.visitText=function(t,e){return new ha(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){var n=this;switch(t.name){case lu:var r=t.attrs.find(function(t){return"equiv"===t.name});if(r)return[new ya("",r.value,t.sourceSpan)];this._addError(t,"<"+lu+'> misses the "equiv" attribute');break;case pu:var i=t.attrs.find(function(t){return"equivStart"===t.name}),o=t.attrs.find(function(t){return"equivEnd"===t.name});if(i){if(o){var s=i.value,a=o.value,u=[];return u.concat.apply(u,[new ya("",s,t.sourceSpan)].concat(t.children.map(function(t){return t.visit(n,null)}),[new ya("",a,t.sourceSpan)]))}this._addError(t,"<"+lu+'> misses the "equivEnd" attribute')}else this._addError(t,"<"+lu+'> misses the "equivStart" attribute');break;default:this._addError(t,"Unexpected tag")}return null},t.prototype.visitExpansion=function(t,e){var n={};return lt(this,t.cases).forEach(function(e){n[e.value]=new fa(e.nodes,t.sourceSpan)}),new da(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:[].concat.apply([],lt(this,t.expression))}},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new xa(t.sourceSpan,e))},t}(),bu="messagebundle",wu="msg",Mu="ph",Su="ex",Tu="source",xu='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',Eu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return $r.a(e,t),e.prototype.write=function(t,e){var n=new Lu,r=new Cu,i=new Wa(bu);return t.forEach(function(t){var e={id:t.id};t.description&&(e.desc=t.description),t.meaning&&(e.meaning=t.meaning);var n=[];t.sources.forEach(function(t){n.push(new Wa(Tu,{},[new za(t.filePath+":"+t.startLine+(t.endLine!==t.startLine?","+t.endLine:""))]))}),i.children.push(new Ba(2),new Wa(wu,e,n.concat(r.serialize(t.nodes))))}),i.children.push(new Ba),ie([new Va({version:"1.0",encoding:"UTF-8"}),new Ba,new Ua(bu,xu),new Ba,n.addDefaultExamples(i),new Ba])},e.prototype.load=function(t,e){throw new Error("Unsupported")},e.prototype.digest=function(t){return ue(t)},e.prototype.createNameMapper=function(t){return new ja(t,ce)},e}(Ra),Cu=function(){function t(){}return t.prototype.visitText=function(t,e){return[new za(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(t,e){var n=this,r=[new za("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,[new za(e+" {")].concat(t.cases[e].visit(n),[new za("} ")]))}),r.push(new za("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=new Wa(Su,{},[new za("<"+t.tag+">")]),r=new Wa(Mu,{name:t.startName},[n]);if(t.isVoid)return[r];var i=new Wa(Su,{},[new za("")]),o=new Wa(Mu,{name:t.closeName},[i]);return[r].concat(this.serialize(t.children),[o])},t.prototype.visitPlaceholder=function(t,e){return[new Wa(Mu,{name:t.name})]},t.prototype.visitIcuPlaceholder=function(t,e){return[new Wa(Mu,{name:t.name})]},t.prototype.serialize=function(t){var e=this;return[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),Lu=function(){function t(){}return t.prototype.addDefaultExamples=function(t){return t.visit(this),t},t.prototype.visitTag=function(t){var e=this;if(t.name===Mu){if(!t.children||0==t.children.length){var n=new za(t.attrs.name||"...");t.children=[new Wa(Su,{},[n])]}}else t.children&&t.children.forEach(function(t){return t.visit(e)})},t.prototype.visitText=function(t){},t.prototype.visitDeclaration=function(t){},t.prototype.visitDoctype=function(t){},t}(),ku="translationbundle",Du="translation",Ou="ph",Pu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return $r.a(e,t),e.prototype.write=function(t,e){throw new Error("Unsupported")},e.prototype.load=function(t,e){var n=new Au,r=n.parse(t,e),i=r.locale,o=r.msgIdToHtml,s=r.errors,a={},u=new Yu;if(Object.keys(o).forEach(function(t){le(a,t,function(){var n=u.convert(o[t],e),r=n.i18nNodes,i=n.errors;if(i.length)throw new Error("xtb parse errors:\n"+i.join("\n"));return r})}),s.length)throw new Error("xtb parse errors:\n"+s.join("\n"));return{locale:i,i18nNodesByMsgId:a}},e.prototype.digest=function(t){return ue(t)},e.prototype.createNameMapper=function(t){return new ja(t,ce)},e}(Ra),Au=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._bundleDepth=0,this._msgIdToHtml={};var n=(new Ia).parse(t,e,!1);return this._errors=n.errors,lt(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case ku:this._bundleDepth++,this._bundleDepth>1&&this._addError(t,"<"+ku+"> elements can not be nested");var n=t.attrs.find(function(t){return"lang"===t.name});n&&(this._locale=n.value),lt(this,t.children,null),this._bundleDepth--;break;case Du:var r=t.attrs.find(function(t){return"id"===t.name});if(r){var i=r.value;if(this._msgIdToHtml.hasOwnProperty(i))this._addError(t,"Duplicated translations for msg "+i);else{var o=t.startSourceSpan.end.offset,s=t.endSourceSpan.start.offset,a=t.startSourceSpan.start.file.content,u=a.slice(o,s);this._msgIdToHtml[i]=u}}else this._addError(t,"<"+Du+'> misses the "id" attribute');break;default:this._addError(t,"Unexpected tag")}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new xa(t.sourceSpan,e))},t}(),Yu=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Ia).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:lt(this,n.rootNodes),errors:this._errors}},t.prototype.visitText=function(t,e){return new ha(t.value,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){var n={};return lt(this,t.cases).forEach(function(e){n[e.value]=new fa(e.nodes,t.sourceSpan)}),new da(t.switchValue,t.type,n,t.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:lt(this,t.expression)}},t.prototype.visitElement=function(t,e){if(t.name===Ou){var n=t.attrs.find(function(t){return"name"===t.name});if(n)return new ya("",n.value,t.sourceSpan);this._addError(t,"<"+Ou+'> misses the "name" attribute')}else this._addError(t,"Unexpected tag");return null},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new xa(t.sourceSpan,e))},t}(),Nu=function(t){function e(){return t.call(this,l)||this}return $r.a(e,t),e.prototype.parse=function(e,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=Cs),t.prototype.parse.call(this,e,n,r,i)},e}(oa);Nu.decorators=[{type:z}],Nu.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Iu=function(){function t(t,e,n,r,i,o){void 0===t&&(t={}),void 0===i&&(i=ti.MissingTranslationStrategy.Warning),this._i18nNodesByMsgId=t,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new Ru(t,e,n,r,i,o)}return t.load=function(e,n,r,i,o){var s=r.load(e,n),a=s.locale;return new t(s.i18nNodesByMsgId,a,function(t){return r.digest(t)},function(t){return r.createNameMapper(t)},i,o)},t.prototype.get=function(t){var e=this._i18nToHtml.convert(t);if(e.errors.length)throw new Error(e.errors.join("\n"));return e.nodes},t.prototype.has=function(t){return this.digest(t)in this._i18nNodesByMsgId},t}(),Ru=function(){function t(t,e,n,r,i,o){void 0===t&&(t={}),this._i18nNodesByMsgId=t,this._locale=e,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=i,this._console=o,this._contextStack=[],this._errors=[]}return t.prototype.convert=function(t){this._contextStack.length=0,this._errors.length=0;var e=this._convertToText(t),n=t.nodes[0].sourceSpan.start.file.url,r=(new Nu).parse(e,n,!0);return{nodes:r.rootNodes,errors:this._errors.concat(r.errors)}},t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return t.children.map(function(t){return t.visit(n)}).join("")},t.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+(this._srcMsg.placeholders.hasOwnProperty(t.expression)?this._srcMsg.placeholders[t.expression]:t.expression)+", "+t.type+", "+r.join(" ")+"}"},t.prototype.visitPlaceholder=function(t,e){var n=this._mapper(t.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n]:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(t,'Unknown placeholder "'+t.name+'"'),"")},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=""+t.tag,i=Object.keys(t.attrs).map(function(e){return e+'="'+t.attrs[e]+'"'}).join(" ");return t.isVoid?"<"+r+" "+i+"/>":"<"+r+" "+i+">"+t.children.map(function(t){return t.visit(n)}).join("")+""},t.prototype.visitIcuPlaceholder=function(t,e){return this._convertToText(this._srcMsg.placeholderToMessage[t.name])},t.prototype._convertToText=function(t){var e,n=this,r=this._digest(t),i=this._mapperFactory?this._mapperFactory(t):null;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=t,this._i18nNodesByMsgId.hasOwnProperty(r))e=this._i18nNodesByMsgId[r],this._mapper=function(t){return i?i.toInternalName(t):t};else{if(this._missingTranslationStrategy===ti.MissingTranslationStrategy.Error){var o=this._locale?' for locale "'+this._locale+'"':"";this._addError(t.nodes[0],'Missing translation for message "'+r+'"'+o)}else if(this._console&&this._missingTranslationStrategy===ti.MissingTranslationStrategy.Warning){var o=this._locale?' for locale "'+this._locale+'"':"";this._console.warn('Missing translation for message "'+r+'"'+o)}e=t.nodes,this._mapper=function(t){return t}}var s=e.map(function(t){return t.visit(n)}).join(""),a=this._contextStack.pop();return this._srcMsg=a.msg,this._mapper=a.mapper,s},t.prototype._addError=function(t,e){this._errors.push(new xa(t.sourceSpan,e))},t}(),ju=function(){function t(t,e,n,r,i){if(void 0===r&&(r=ti.MissingTranslationStrategy.Warning),this._htmlParser=t,e){var o=pe(n);this._translationBundle=Iu.load(e,"i18n",o,r,i)}else this._translationBundle=new Iu({},null,xt,void 0,r,i)}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=Cs);var i=this._htmlParser.parse(t,e,n,r);return i.errors.length?new ia(i.rootNodes,i.errors):Xt(i.rootNodes,this._translationBundle,r,[],{})},t}(),Hu="@angular/core",Fu=function(){function t(){}return t}();Fu.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:Hu,runtime:ti.ANALYZE_FOR_ENTRY_COMPONENTS},Fu.ElementRef={name:"ElementRef",moduleName:Hu,runtime:ti.ElementRef},Fu.NgModuleRef={name:"NgModuleRef",moduleName:Hu,runtime:ti.NgModuleRef},Fu.ViewContainerRef={name:"ViewContainerRef",moduleName:Hu,runtime:ti.ViewContainerRef},Fu.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:Hu,runtime:ti.ChangeDetectorRef},Fu.QueryList={name:"QueryList",moduleName:Hu,runtime:ti.QueryList},Fu.TemplateRef={name:"TemplateRef",moduleName:Hu,runtime:ti.TemplateRef},Fu.CodegenComponentFactoryResolver={name:"ɵCodegenComponentFactoryResolver",moduleName:Hu,runtime:ti["ɵCodegenComponentFactoryResolver"]},Fu.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:Hu,runtime:ti.ComponentFactoryResolver},Fu.ComponentFactory={name:"ComponentFactory",moduleName:Hu,runtime:ti.ComponentFactory},Fu.ComponentRef={name:"ComponentRef",moduleName:Hu,runtime:ti.ComponentRef},Fu.NgModuleFactory={name:"NgModuleFactory",moduleName:Hu,runtime:ti.NgModuleFactory},Fu.createModuleFactory={name:"ɵcmf",moduleName:Hu,runtime:ti["ɵcmf"]},Fu.moduleDef={name:"ɵmod",moduleName:Hu,runtime:ti["ɵmod"]},Fu.moduleProviderDef={name:"ɵmpd",moduleName:Hu,runtime:ti["ɵmpd"]},Fu.RegisterModuleFactoryFn={name:"ɵregisterModuleFactory",moduleName:Hu,runtime:ti["ɵregisterModuleFactory"]},Fu.Injector={name:"Injector",moduleName:Hu,runtime:ti.Injector},Fu.ViewEncapsulation={name:"ViewEncapsulation",moduleName:Hu,runtime:ti.ViewEncapsulation},Fu.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:Hu,runtime:ti.ChangeDetectionStrategy},Fu.SecurityContext={name:"SecurityContext",moduleName:Hu,runtime:ti.SecurityContext},Fu.LOCALE_ID={name:"LOCALE_ID",moduleName:Hu,runtime:ti.LOCALE_ID},Fu.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:Hu,runtime:ti.TRANSLATIONS_FORMAT},Fu.inlineInterpolate={name:"ɵinlineInterpolate",moduleName:Hu,runtime:ti["ɵinlineInterpolate"]},Fu.interpolate={name:"ɵinterpolate",moduleName:Hu,runtime:ti["ɵinterpolate"]},Fu.EMPTY_ARRAY={name:"ɵEMPTY_ARRAY",moduleName:Hu,runtime:ti["ɵEMPTY_ARRAY"]},Fu.EMPTY_MAP={name:"ɵEMPTY_MAP",moduleName:Hu,runtime:ti["ɵEMPTY_MAP"]},Fu.Renderer={name:"Renderer",moduleName:Hu,runtime:ti.Renderer},Fu.viewDef={name:"ɵvid",moduleName:Hu,runtime:ti["ɵvid"]},Fu.elementDef={name:"ɵeld",moduleName:Hu,runtime:ti["ɵeld"]},Fu.anchorDef={name:"ɵand",moduleName:Hu,runtime:ti["ɵand"]},Fu.textDef={name:"ɵted",moduleName:Hu,runtime:ti["ɵted"]},Fu.directiveDef={name:"ɵdid",moduleName:Hu,runtime:ti["ɵdid"]},Fu.providerDef={name:"ɵprd",moduleName:Hu,runtime:ti["ɵprd"]},Fu.queryDef={name:"ɵqud",moduleName:Hu,runtime:ti["ɵqud"]},Fu.pureArrayDef={name:"ɵpad",moduleName:Hu,runtime:ti["ɵpad"]},Fu.pureObjectDef={name:"ɵpod",moduleName:Hu,runtime:ti["ɵpod"]},Fu.purePipeDef={name:"ɵppd",moduleName:Hu,runtime:ti["ɵppd"]},Fu.pipeDef={name:"ɵpid",moduleName:Hu,runtime:ti["ɵpid"]},Fu.nodeValue={name:"ɵnov",moduleName:Hu,runtime:ti["ɵnov"]},Fu.ngContentDef={name:"ɵncd",moduleName:Hu,runtime:ti["ɵncd"]},Fu.unwrapValue={name:"ɵunv",moduleName:Hu,runtime:ti["ɵunv"]},Fu.createRendererType2={name:"ɵcrt",moduleName:Hu,runtime:ti["ɵcrt"]},Fu.RendererType2={name:"RendererType2",moduleName:Hu,runtime:null},Fu.ViewDefinition={name:"ɵViewDefinition",moduleName:Hu,runtime:null},Fu.createComponentFactory={name:"ɵccf",moduleName:Hu,runtime:ti["ɵccf"]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Vu="ngPreserveWhitespaces",Uu=new Set(["pre","template","textarea","script","style"]),Wu=" \f\n\r\t\v ᠎ - \u2028\u2029   \ufeff",zu=new RegExp("[^"+Wu+"]"),Bu=new RegExp("["+Wu+"]{2,}","g"),qu=function(){function t(){}return t.prototype.visitElement=function(t,e){return Uu.has(t.name)||de(t.attrs)?new Gs(t.name,lt(this,t.attrs),t.children,t.sourceSpan,t.startSourceSpan,t.endSourceSpan):new Gs(t.name,t.attrs,lt(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t.name!==Vu?t:null},t.prototype.visitText=function(t,e){return t.value.match(zu)?new zs(me(t.value).replace(Bu," "),t.sourceSpan):null},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}(),Ju=["zero","one","two","few","many","other"],Gu=function(){function t(t,e,n){this.nodes=t,this.expanded=e,this.errors=n}return t}(),Qu=function(t){function e(e,n){return t.call(this,e,n)||this}return $r.a(e,t),e}(Ws),Ku=function(){function t(){this.isExpanded=!1,this.errors=[]}return t.prototype.visitElement=function(t,e){return new Gs(t.name,t.attrs,lt(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t},t.prototype.visitText=function(t,e){return t},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return this.isExpanded=!0,"plural"==t.type?ve(t,this.errors):ge(t,this.errors)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Should not be reached")},t}(),Zu=function(t){function e(e,n){return t.call(this,n,e)||this}return $r.a(e,t),e}(Ws),Xu=function(){function t(t,e){var n=this;this.reflector=t,this.component=e,this.errors=[],this.viewQueries=Te(e),this.viewProviders=new Map,e.viewProviders.forEach(function(t){null==n.viewProviders.get(D(t.token))&&n.viewProviders.set(D(t.token),!0)})}return t}(),$u=function(){function t(t,e,n,r,i,o,s,a,u){var c=this;this.viewContext=t,this._parent=e,this._isViewRoot=n,this._directiveAsts=r,this._sourceSpan=u,this._transformedProviders=new Map,this._seenProviders=new Map,this._hasViewContainer=!1,this._queriedTokens=new Map,this._attrs={},i.forEach(function(t){return c._attrs[t.name]=t.value});var l=r.map(function(t){return t.directive});if(this._allProviders=Me(l,u,t.errors),this._contentQueries=xe(a,l),Array.from(this._allProviders.values()).forEach(function(t){c._addQueryReadsTo(t.token,t.token,c._queriedTokens)}),s){var p=fe(this.viewContext.reflector,Fu.TemplateRef);this._addQueryReadsTo(p,p,this._queriedTokens)}o.forEach(function(t){var e=t.value||fe(c.viewContext.reflector,Fu.ElementRef);c._addQueryReadsTo({value:t.name},e,c._queriedTokens)}),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(Fu.ViewContainerRef))&&(this._hasViewContainer=!0),Array.from(this._allProviders.values()).forEach(function(t){(t.eager||c._queriedTokens.get(D(t.token)))&&c._getOrCreateLocalProvider(t.providerType,t.token,!0)})}return t.prototype.afterElement=function(){var t=this;Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.providerType,e.token,!1)})},Object.defineProperty(t.prototype,"transformProviders",{get:function(){var t=[],e=[];return this._transformedProviders.forEach(function(n){n.eager?e.push(n):t.push(n)}),t.concat(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedDirectiveAsts",{get:function(){var t=this.transformProviders.map(function(t){return t.token.identifier}),e=this._directiveAsts.slice();return e.sort(function(e,n){return t.indexOf(e.directive.type)-t.indexOf(n.directive.type)}),e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedHasViewContainer",{get:function(){return this._hasViewContainer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryMatches",{get:function(){var t=[];return this._queriedTokens.forEach(function(e){t.push.apply(t,e)}),t},enumerable:!0,configurable:!0}),t.prototype._addQueryReadsTo=function(t,e,n){this._getQueriesFor(t).forEach(function(t){var r=t.meta.read||e,i=D(r),o=n.get(i);o||(o=[],n.set(i,o)),o.push({queryId:t.queryId,value:r})})},t.prototype._getQueriesFor=function(t){for(var e,n=[],r=this,i=0;null!==r;)e=r._contentQueries.get(D(t)),e&&n.push.apply(n,e.filter(function(t){return t.meta.descendants||i<=1})),r._directiveAsts.length>0&&i++,r=r._parent;return e=this.viewContext.viewQueries.get(D(t)),e&&n.push.apply(n,e),n},t.prototype._getOrCreateLocalProvider=function(t,e,n){var r=this,i=this._allProviders.get(D(e));if(!i||(t===fi.Directive||t===fi.PublicService)&&i.providerType===fi.PrivateService||(t===fi.PrivateService||t===fi.PublicService)&&i.providerType===fi.Builtin)return null;var o=this._transformedProviders.get(D(e));if(o)return o;if(null!=this._seenProviders.get(D(e)))return this.viewContext.errors.push(new Zu("Cannot instantiate cyclic dependency! "+k(e),this._sourceSpan)),null;this._seenProviders.set(D(e),!0);var s=i.providers.map(function(t){var e=t.useValue,o=t.useExisting,s=void 0;if(null!=t.useExisting){var a=r._getDependency(i.providerType,{token:t.useExisting},n);null!=a.token?o=a.token:(o=null,e=a.value)}else if(t.useFactory){var u=t.deps||t.useFactory.diDeps;s=u.map(function(t){return r._getDependency(i.providerType,t,n)})}else if(t.useClass){var u=t.deps||t.useClass.diDeps;s=u.map(function(t){return r._getDependency(i.providerType,t,n)})}return be(t,{useExisting:o,useValue:e,deps:s})});return o=we(i,{eager:n,providers:s}),this._transformedProviders.set(D(e),o),o},t.prototype._getLocalDependency=function(t,e,n){if(void 0===n&&(n=!1),e.isAttribute){var r=this._attrs[e.token.value];return{isValue:!0,value:null==r?null:r}}if(null!=e.token){if(t===fi.Directive||t===fi.Component){if(D(e.token)===this.viewContext.reflector.resolveExternalReference(Fu.Renderer)||D(e.token)===this.viewContext.reflector.resolveExternalReference(Fu.ElementRef)||D(e.token)===this.viewContext.reflector.resolveExternalReference(Fu.ChangeDetectorRef)||D(e.token)===this.viewContext.reflector.resolveExternalReference(Fu.TemplateRef))return e;D(e.token)===this.viewContext.reflector.resolveExternalReference(Fu.ViewContainerRef)&&(this._hasViewContainer=!0)}if(D(e.token)===this.viewContext.reflector.resolveExternalReference(Fu.Injector))return e;if(null!=this._getOrCreateLocalProvider(t,e.token,n))return e}return null},t.prototype._getDependency=function(t,e,n){void 0===n&&(n=!1);var r=this,i=n,o=null;if(e.isSkipSelf||(o=this._getLocalDependency(t,e,n)),e.isSelf)!o&&e.isOptional&&(o={isValue:!0,value:null});else{for(;!o&&r._parent;){var s=r;r=r._parent,s._isViewRoot&&(i=!1),o=r._getLocalDependency(fi.PublicService,e,i)}o||(o=!e.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===D(e.token)||null!=this.viewContext.viewProviders.get(D(e.token))?e:e.isOptional?o={isValue:!0,value:null}:null)}return o||this.viewContext.errors.push(new Zu("No provider for "+k(e.token),this._sourceSpan)),o},t}(),tc=function(){function t(t,e,n,r){var i=this;this.reflector=t,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,e.transitiveModule.modules.forEach(function(t){Se([{token:{identifier:t},useClass:t}],fi.PublicService,!0,r,i._errors,i._allProviders)}),Se(e.transitiveModule.providers.map(function(t){return t.provider}).concat(n),fi.PublicService,!1,r,this._errors,this._allProviders)}return t.prototype.parse=function(){var t=this;if(Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.token,e.eager)}),this._errors.length>0){var e=this._errors.join("\n");throw new Error("Provider parse errors:\n"+e)}var n=[],r=[];return this._transformedProviders.forEach(function(t){t.eager?r.push(t):n.push(t)}),n.concat(r)},t.prototype._getOrCreateLocalProvider=function(t,e){var n=this,r=this._allProviders.get(D(t));if(!r)return null;var i=this._transformedProviders.get(D(t));if(i)return i;if(null!=this._seenProviders.get(D(t)))return this._errors.push(new Zu("Cannot instantiate cyclic dependency! "+k(t),r.sourceSpan)),null;this._seenProviders.set(D(t),!0);var o=r.providers.map(function(t){var i=t.useValue,o=t.useExisting,s=void 0;if(null!=t.useExisting){var a=n._getDependency({token:t.useExisting},e,r.sourceSpan);null!=a.token?o=a.token:(o=null,i=a.value)}else if(t.useFactory){var u=t.deps||t.useFactory.diDeps;s=u.map(function(t){return n._getDependency(t,e,r.sourceSpan)})}else if(t.useClass){var u=t.deps||t.useClass.diDeps;s=u.map(function(t){return n._getDependency(t,e,r.sourceSpan)})}return be(t,{useExisting:o,useValue:i,deps:s})});return i=we(r,{eager:e,providers:o}),this._transformedProviders.set(D(t),i),i},t.prototype._getDependency=function(t,e,n){void 0===e&&(e=!1);var r=!1;t.isSkipSelf||null==t.token||(D(t.token)===this.reflector.resolveExternalReference(Fu.Injector)||D(t.token)===this.reflector.resolveExternalReference(Fu.ComponentFactoryResolver)?r=!0:null!=this._getOrCreateLocalProvider(t.token,e)&&(r=!0));var i=t;return t.isSelf&&!r&&(t.isOptional?i={isValue:!0,value:null}:this._errors.push(new Zu("No provider for "+k(t.token),n))),i},t}(),ec=function(){function t(){}return t.prototype.hasProperty=function(t,e,n){},t.prototype.hasElement=function(t,e){},t.prototype.securityContext=function(t,e,n){},t.prototype.allKnownElementNames=function(){},t.prototype.getMappedPropName=function(t){},t.prototype.getDefaultComponentElementName=function(){},t.prototype.validateProperty=function(t){},t.prototype.validateAttribute=function(t){},t.prototype.normalizeAnimationStyleProperty=function(t){},t.prototype.normalizeAnimationStyleValue=function(t,e,n){},t}(),nc=function(){function t(t,e){this.style=t,this.styleUrls=e}return t}(),rc=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,ic=/\/\*[\s\S]+?\*\//g,oc=/^([^:\/?#]+):/,sc=".",ac="attr",uc="class",cc="style",lc="animate-",pc={};pc.DEFAULT=0,pc.LITERAL_ATTR=1,pc.ANIMATION=2,pc[pc.DEFAULT]="DEFAULT",pc[pc.LITERAL_ATTR]="LITERAL_ATTR",pc[pc.ANIMATION]="ANIMATION";var hc=function(){function t(t,e,n,r){this.name=t,this.expression=e,this.type=n,this.sourceSpan=r}return Object.defineProperty(t.prototype,"isLiteral",{get:function(){return this.type===pc.LITERAL_ATTR},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAnimation",{get:function(){return this.type===pc.ANIMATION},enumerable:!0,configurable:!0}),t}(),fc=function(){function t(t,e,n,r,i){var o=this;this._exprParser=t,this._interpolationConfig=e,this._schemaRegistry=n,this._targetErrors=i,this.pipesByName=new Map,this._usedPipes=new Map,r.forEach(function(t){return o.pipesByName.set(t.name,t)})}return t.prototype.getUsedPipes=function(){return Array.from(this._usedPipes.values())},t.prototype.createDirectiveHostPropertyAsts=function(t,e,n){var r=this;if(t.hostProperties){var i=[];return Object.keys(t.hostProperties).forEach(function(e){var o=t.hostProperties[e];"string"==typeof o?r.parsePropertyBinding(e,o,!0,n,[],i):r._reportError('Value of the host property binding "'+e+'" needs to be a string representing an expression but got "'+o+'" ('+typeof o+")",n)}),i.map(function(t){return r.createElementPropertyAst(e,t)})}return null},t.prototype.createDirectiveHostEventAsts=function(t,e){var n=this;if(t.hostListeners){var r=[];return Object.keys(t.hostListeners).forEach(function(i){var o=t.hostListeners[i];"string"==typeof o?n.parseEvent(i,o,e,[],r):n._reportError('Value of the host listener "'+i+'" needs to be a string representing an expression but got "'+o+'" ('+typeof o+")",e)}),r}return null},t.prototype.parseInterpolation=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseInterpolation(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),this._checkPipes(r,e),r}catch(t){return this._reportError(""+t,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype.parseInlineTemplateBinding=function(t,e,n,r,i,o){for(var s=this._parseTemplateBindings(t,e,n),a=0;a1)if(o[0]==ac){i=o[1],this._validatePropertyOrAttributeName(i,e.sourceSpan,!0),s=De(this._schemaRegistry,t,i,!0);var a=i.indexOf(":");if(a>-1){var u=i.substring(0,a),l=i.substring(a+1);i=c(u,l)}r=mi.Attribute}else o[0]==uc?(i=o[1],r=mi.Class,s=[ti.SecurityContext.NONE]):o[0]==cc&&(n=o.length>2?o[2]:null,i=o[1],r=mi.Style,s=[ti.SecurityContext.STYLE]);return null===i&&(i=this._schemaRegistry.getMappedPropName(e.name),s=De(this._schemaRegistry,t,i,!1),r=mi.Property,this._validatePropertyOrAttributeName(i,e.sourceSpan,!1)),new ii(i,r,s[0],e.expression,n,e.sourceSpan)},t.prototype.parseEvent=function(t,e,n,r,i){ke(t)?(t=t.substr(1),this._parseAnimationEvent(t,e,n,i)):this._parseEvent(t,e,n,r,i)},t.prototype._parseAnimationEvent=function(t,e,n,r){var i=f(t,[t,""]),o=i[0],s=i[1].toLowerCase();if(s)switch(s){case"start":case"done":var a=this._parseAction(e,n);r.push(new oi(o,null,s,a,n));break;default:this._reportError('The provided animation output phase value "'+s+'" for "@'+o+'" is not supported (use start or done)',n)}else this._reportError("The animation trigger output event (@"+o+") is missing its phase value name (start or done are currently supported)",n)},t.prototype._parseEvent=function(t,e,n,r,i){var o=h(t,[null,t]),s=o[0],a=o[1],u=this._parseAction(e,n);r.push([t,u.source]),i.push(new oi(a,s,null,u,n))},t.prototype._parseAction=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseAction(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),!r||r.ast instanceof $i?(this._reportError("Empty expressions are not allowed",e),this._exprParser.wrapLiteralPrimitive("ERROR",n)):(this._checkPipes(r,e),r)}catch(t){return this._reportError(""+t,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype._reportError=function(t,e,n){void 0===n&&(n=Us.ERROR),this._targetErrors.push(new Ws(e,t,n))},t.prototype._reportExpressionParserErrors=function(t,e){for(var n=0,r=t;n element is deprecated. Use instead",Wc="The template attribute is deprecated. Use an ng-template element instead.",zc={},Bc=new ti.InjectionToken("TemplateTransforms"),qc=function(t){function e(e,n,r){return t.call(this,n,e,r)||this}return $r.a(e,t),e}(Ws),Jc=function(){function t(t,e,n){this.templateAst=t,this.usedPipes=e,this.errors=n}return t}(),Gc=function(){function t(t,e,n,r,i,o,s){this._config=t,this._reflector=e,this._exprParser=n,this._schemaRegistry=r,this._htmlParser=i,this._console=o,this.transforms=s}return t.prototype.parse=function(t,e,n,r,i,o,s){var a=this.tryParse(t,e,n,r,i,o,s),u=a.errors.filter(function(t){return t.level===Us.WARNING}).filter(Ae([Wc,Uc])),c=a.errors.filter(function(t){return t.level===Us.ERROR});if(u.length>0&&this._console.warn("Template parse warnings:\n"+u.join("\n")),c.length>0){throw v("Template parse errors:\n"+c.join("\n"),c)}return{template:a.templateAst,pipes:a.usedPipes}},t.prototype.tryParse=function(t,e,n,r,i,o,s){var a=this._htmlParser.parse(e,o,!0,this.getInterpolationConfig(t));return s||(a=ye(a)),this.tryParseHtml(this.expandHtml(a),t,n,r,i)},t.prototype.tryParseHtml=function(t,e,n,i,o){var s,a=t.errors,u=[];if(t.rootNodes.length>0){var c=je(n),l=je(i),p=new Xu(this._reflector,e),h=void 0;e.template&&e.template.interpolation&&(h={start:e.template.interpolation[0],end:e.template.interpolation[1]});var f=new fc(this._exprParser,h,this._schemaRegistry,l,a),d=new Qc(this._reflector,this._config,p,c,f,this._schemaRegistry,o,a);s=lt(d,t.rootNodes,$c),a.push.apply(a,p.errors),u.push.apply(u,f.getUsedPipes())}else s=[];return this._assertNoReferenceDuplicationOnTemplate(s,a),a.length>0?new Jc(s,u,a):(this.transforms&&this.transforms.forEach(function(t){s=r(t,s)}),new Jc(s,u,a))},t.prototype.expandHtml=function(t,e){void 0===e&&(e=!1);var n=t.errors;if(0==n.length||e){var r=_e(t.rootNodes);n.push.apply(n,r.errors),t=new ia(r.nodes,n)}return t},t.prototype.getInterpolationConfig=function(t){if(t.template)return Es.fromArray(t.template.interpolation)},t.prototype._assertNoReferenceDuplicationOnTemplate=function(t,e){var n=[];t.filter(function(t){return!!t.references}).forEach(function(t){return t.references.forEach(function(t){var r=t.name;if(n.indexOf(r)<0)n.push(r);else{var i=new qc('Reference "#'+r+'" is defined several times',t.sourceSpan,Us.ERROR);e.push(i)}})})},t}();Gc.decorators=[{type:z}],Gc.ctorParameters=function(){return[{type:Gi},{type:Ji},{type:Is},{type:ec},{type:ju},{type:ti["ɵConsole"]},{type:Array,decorators:[{type:ti.Optional},{type:ti.Inject,args:[Bc]}]}]};var Qc=function(){function t(t,e,n,r,i,o,s,a){var u=this;this.reflector=t,this.config=e,this.providerViewContext=n,this._bindingParser=i,this._schemaRegistry=o,this._schemas=s,this._targetErrors=a,this.selectorMatcher=new Ci,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=n.component.viewQueries.length+1,r.forEach(function(t,e){var n=Ei.parse(t.selector);u.selectorMatcher.addSelectables(n,t),u.directivesIndex.set(t,e)})}return t.prototype.visitExpansion=function(t,e){return null},t.prototype.visitExpansionCase=function(t,e){return null},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(Vc),r=me(t.value),i=this._bindingParser.parseInterpolation(r,t.sourceSpan);return i?new ni(i,n,t.sourceSpan):new ei(r,n,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return new ri(t.name,t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitElement=function(t,e){var n=this,r=this.contentQueryStartId,i=t.name,o=Oe(t);if(o.type===Tc.SCRIPT||o.type===Tc.STYLE)return null;if(o.type===Tc.STYLESHEET&&Ce(o.hrefAttr))return null;var s=[],a=[],u=[],c=[],l=[],p=[],h=[],f=[],d=!1,m=[],y=Fe(t,this.config.enableLegacyTemplate,function(t,e){return n._reportError(t,e,Us.WARNING)});t.attrs.forEach(function(t){var e,r,i=n._parseAttr(y,t,s,a,l,u,c),o=n._normalizeAttributeName(t.name);n.config.enableLegacyTemplate&&o==jc?(n._reportError(Wc,t.sourceSpan,Us.WARNING),e=t.value):o.startsWith(Hc)&&(e=t.value,r=o.substring(Hc.length)+":");var _=null!=e;_&&(d&&n._reportError("Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *",t.sourceSpan),d=!0,n._bindingParser.parseInlineTemplateBinding(r,e,t.sourceSpan,h,p,f)),i||_||(m.push(n.visitAttribute(t,null)),s.push([t.name,t.value]))});var _=Ie(i,s),v=this._parseDirectives(this.selectorMatcher,_),g=v.directives,b=v.matchElement,w=[],M=new Set,S=this._createDirectiveAsts(y,t.name,g,a,u,t.sourceSpan,w,M),T=this._createElementPropertyAsts(t.name,a,M),x=e.isTemplateElement||d,E=new $u(this.providerViewContext,e.providerContext,x,S,m,w,y,r,t.sourceSpan),C=lt(o.nonBindable?tl:this,t.children,Xc.create(y,S,y?e.providerContext:E));E.afterElement();var L,k=null!=o.projectAs?Ei.parse(o.projectAs)[0]:_,D=e.findNgContentIndex(k);if(o.type===Tc.NG_CONTENT)t.children&&!t.children.every(Re)&&this._reportError(" element cannot have content.",t.sourceSpan),L=new di(this.ngContentCount++,d?null:D,t.sourceSpan);else if(y)this._assertAllEventsPublishedByDirectives(S,l),this._assertNoComponentsNorElementBindingsOnTemplate(S,T,t.sourceSpan),L=new ci(m,l,w,c,E.transformedDirectiveAsts,E.transformProviders,E.transformedHasViewContainer,E.queryMatches,C,d?null:D,t.sourceSpan);else{this._assertElementExists(b,t),this._assertOnlyOneComponent(S,t.sourceSpan);var O=d?null:e.findNgContentIndex(k);L=new ui(i,m,T,l,w,E.transformedDirectiveAsts,E.transformProviders,E.transformedHasViewContainer,E.queryMatches,C,d?null:O,t.sourceSpan,t.endSourceSpan||null)}if(d){var P=this.contentQueryStartId,A=Ie(Rc,h),Y=this._parseDirectives(this.selectorMatcher,A).directives,N=new Set,I=this._createDirectiveAsts(!0,t.name,Y,p,[],t.sourceSpan,[],N),R=this._createElementPropertyAsts(t.name,p,N);this._assertNoComponentsNorElementBindingsOnTemplate(I,R,t.sourceSpan);var j=new $u(this.providerViewContext,e.providerContext,e.isTemplateElement,I,[],[],!0,P,t.sourceSpan);j.afterElement(),L=new ci([],[],[],f,j.transformedDirectiveAsts,j.transformProviders,j.transformedHasViewContainer,j.queryMatches,[L],D,t.sourceSpan)}return L},t.prototype._parseAttr=function(t,e,n,r,i,o,s){var a=this._normalizeAttributeName(e.name),u=e.value,c=e.sourceSpan,l=a.match(Ec),p=!1;if(null!==l)if(p=!0,null!=l[Cc])this._bindingParser.parsePropertyBinding(l[Ac],u,!1,c,n,r);else if(l[Lc])if(t){var h=l[Ac];this._parseVariable(h,u,c,s)}else this._reportError('"let-" is only supported on template elements.',c);else if(l[kc]){var h=l[Ac];this._parseReference(h,u,c,o)}else l[Dc]?this._bindingParser.parseEvent(l[Ac],u,c,n,i):l[Oc]?(this._bindingParser.parsePropertyBinding(l[Ac],u,!1,c,n,r),this._parseAssignmentEvent(l[Ac],u,c,n,i)):l[Pc]?this._bindingParser.parseLiteralAttr(a,u,c,n,r):l[Yc]?(this._bindingParser.parsePropertyBinding(l[Yc],u,!1,c,n,r),this._parseAssignmentEvent(l[Yc],u,c,n,i)):l[Nc]?this._bindingParser.parsePropertyBinding(l[Nc],u,!1,c,n,r):l[Ic]&&this._bindingParser.parseEvent(l[Ic],u,c,n,i);else p=this._bindingParser.parsePropertyInterpolation(a,u,c,n,r);return p||this._bindingParser.parseLiteralAttr(a,u,c,n,r),p},t.prototype._normalizeAttributeName=function(t){return/^data-/i.test(t)?t.substring(5):t},t.prototype._parseVariable=function(t,e,n,r){t.indexOf("-")>-1&&this._reportError('"-" is not allowed in variable names',n),r.push(new ai(t,e,n))},t.prototype._parseReference=function(t,e,n,r){t.indexOf("-")>-1&&this._reportError('"-" is not allowed in reference names',n),r.push(new Zc(t,e,n))},t.prototype._parseAssignmentEvent=function(t,e,n,r,i){this._bindingParser.parseEvent(t+"Change",e+"=$event",n,r,i)},t.prototype._parseDirectives=function(t,e){var n=this,r=new Array(this.directivesIndex.size),i=!1;return t.match(e,function(t,e){r[n.directivesIndex.get(e)]=e,i=i||t.hasElementSelector()}),{directives:r.filter(function(t){return!!t}),matchElement:i}},t.prototype._createDirectiveAsts=function(t,e,n,r,i,o,s,a){var u=this,c=new Set,l=null,p=n.map(function(t){var n=new Vs(o.start,o.end,"Directive "+S(t.type));t.isComponent&&(l=t);var p=[],h=u._bindingParser.createDirectiveHostPropertyAsts(t,e,n);h=u._checkPropertiesInSchema(e,h);var f=u._bindingParser.createDirectiveHostEventAsts(t,n);u._createDirectivePropertyAsts(t.inputs,r,p,a),i.forEach(function(e){(0===e.value.length&&t.isComponent||e.isReferenceToDirective(t))&&(s.push(new si(e.name,he(t.type.reference),e.sourceSpan)),c.add(e.name))});var d=u.contentQueryStartId;return u.contentQueryStartId+=t.queries.length,new pi(t,p,h,f,d,n)});return i.forEach(function(e){if(e.value.length>0)c.has(e.name)||u._reportError('There is no directive with "exportAs" set to "'+e.value+'"',e.sourceSpan);else if(!l){var n=null;t&&(n=fe(u.reflector,Fu.TemplateRef)),s.push(new si(e.name,n,e.sourceSpan))}}),p},t.prototype._createDirectivePropertyAsts=function(t,e,n,r){if(t){var i=new Map;e.forEach(function(t){var e=i.get(t.name);e&&!e.isLiteral||i.set(t.name,t)}),Object.keys(t).forEach(function(e){var o=t[e],s=i.get(o);s&&(r.add(s.name),He(s.expression)||n.push(new li(e,s.name,s.expression,s.sourceSpan)))})}},t.prototype._createElementPropertyAsts=function(t,e,n){var r=this,i=[];return e.forEach(function(e){e.isLiteral||n.has(e.name)||i.push(r._bindingParser.createElementPropertyAst(t,e))}),this._checkPropertiesInSchema(t,i)},t.prototype._findComponentDirectives=function(t){return t.filter(function(t){return t.directive.isComponent})},t.prototype._findComponentDirectiveNames=function(t){return this._findComponentDirectives(t).map(function(t){return S(t.directive.type)})},t.prototype._assertOnlyOneComponent=function(t,e){var n=this._findComponentDirectiveNames(t);n.length>1&&this._reportError("More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: "+n.join(","),e)},t.prototype._assertElementExists=function(t,e){var n=e.name.replace(/^:xhtml:/,"");if(!t&&!this._schemaRegistry.hasElement(n,this._schemas)){var r="'"+n+"' is not a known element:\n";r+="1. If '"+n+"' is an Angular component, then verify that it is part of this module.\n",n.indexOf("-")>-1?r+="2. If '"+n+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.":r+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(r,e.sourceSpan)}},t.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(t,e,n){var r=this,i=this._findComponentDirectiveNames(t);i.length>0&&this._reportError("Components on an embedded template: "+i.join(","),n),e.forEach(function(t){r._reportError("Property binding "+t.name+' not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations".',n)})},t.prototype._assertAllEventsPublishedByDirectives=function(t,e){var n=this,r=new Set;t.forEach(function(t){Object.keys(t.directive.outputs).forEach(function(e){var n=t.directive.outputs[e];r.add(n)})}),e.forEach(function(t){null==t.target&&r.has(t.name)||n._reportError("Event binding "+t.fullName+' not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations".',t.sourceSpan)})},t.prototype._checkPropertiesInSchema=function(t,e){var n=this;return e.filter(function(e){if(e.type===mi.Property&&!n._schemaRegistry.hasProperty(t,e.name,n._schemas)){var r="Can't bind to '"+e.name+"' since it isn't a known property of '"+t+"'.";t.startsWith("ng-")?r+="\n1. If '"+e.name+"' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.":t.indexOf("-")>-1&&(r+="\n1. If '"+t+"' is an Angular component and it has '"+e.name+"' input, then verify that it is part of this module.\n2. If '"+t+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component."),n._reportError(r,e.sourceSpan)}return!He(e.value)})},t.prototype._reportError=function(t,e,n){void 0===n&&(n=Us.ERROR),this._targetErrors.push(new Ws(e,t,n))},t}(),Kc=function(){function t(){}return t.prototype.visitElement=function(t,e){var n=Oe(t);if(n.type===Tc.SCRIPT||n.type===Tc.STYLE||n.type===Tc.STYLESHEET)return null;var r=t.attrs.map(function(t){return[t.name,t.value]}),i=Ie(t.name,r),o=e.findNgContentIndex(i),s=lt(this,t.children,$c);return new ui(t.name,lt(this,t.attrs),[],[],[],[],[],!1,[],s,o,t.sourceSpan,t.endSourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return new ri(t.name,t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(Vc);return new ei(t.value,n,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}(),Zc=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.isReferenceToDirective=function(t){return-1!==Ye(t.exportAs).indexOf(this.value)},t}(),Xc=function(){function t(t,e,n,r){this.isTemplateElement=t,this._ngContentIndexMatcher=e,this._wildcardNgContentIndex=n,this.providerContext=r}return t.create=function(e,n,r){var i=new Ci,o=null,s=n.find(function(t){return t.directive.isComponent});if(s)for(var a=s.directive.template.ngContentSelectors,u=0;u0?e[0]:null},t}(),$c=new Xc(!0,new Ci,null,null),tl=new Kc,el=function(){function t(){}return t.prototype.get=function(t){return""},t}(),nl={provide:ti.PACKAGE_ROOT_URL,useValue:"/"},rl=function(){function t(t){void 0===t&&(t=null),this._packagePrefix=t}return t.prototype.resolve=function(t,e){var n=e;null!=t&&t.length>0&&(n=Je(t,n));var r=ze(n),i=this._packagePrefix;if(null!=i&&null!=r&&"package"==r[ol.Scheme]){var o=r[ol.Path];return i=i.replace(/\/+$/,""),o=o.replace(/^\/+/,""),i+"/"+o}return n},t}();rl.decorators=[{type:z}],rl.ctorParameters=function(){return[{type:void 0,decorators:[{type:ti.Inject,args:[ti.PACKAGE_ROOT_URL]}]}]};var il=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),ol={};ol.Scheme=1,ol.UserInfo=2,ol.Domain=3,ol.Port=4,ol.Path=5,ol.QueryData=6,ol.Fragment=7,ol[ol.Scheme]="Scheme",ol[ol.UserInfo]="UserInfo",ol[ol.Domain]="Domain",ol[ol.Port]="Port",ol[ol.Path]="Path",ol[ol.QueryData]="QueryData",ol[ol.Fragment]="Fragment";/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var sl=function(){function t(t,e,n,r){this._resourceLoader=t,this._urlResolver=e,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}return t.prototype.clearCache=function(){this._resourceLoaderCache.clear()},t.prototype.clearCacheFor=function(t){var e=this;if(t.isComponent){var n=t.template;this._resourceLoaderCache.delete(n.templateUrl),n.externalStylesheets.forEach(function(t){e._resourceLoaderCache.delete(t.moduleUrl)})}},t.prototype._fetch=function(t){var e=this._resourceLoaderCache.get(t);return e||(e=this._resourceLoader.get(t),this._resourceLoaderCache.set(t,e)),e},t.prototype.normalizeTemplate=function(t){var e=this;if(y(t.template)){if(y(t.templateUrl))throw v("'"+n.i(ti["ɵstringify"])(t.componentType)+"' component cannot define both template and templateUrl");if("string"!=typeof t.template)throw v("The template specified for component "+n.i(ti["ɵstringify"])(t.componentType)+" is not a string")}else{if(!y(t.templateUrl))throw v("No template specified for component "+n.i(ti["ɵstringify"])(t.componentType));if("string"!=typeof t.templateUrl)throw v("The templateUrl specified for component "+n.i(ti["ɵstringify"])(t.componentType)+" is not a string")}if(y(t.preserveWhitespaces)&&"boolean"!=typeof t.preserveWhitespaces)throw v("The preserveWhitespaces option for component "+n.i(ti["ɵstringify"])(t.componentType)+" must be a boolean");return Ai.then(this.normalizeTemplateOnly(t),function(t){return e.normalizeExternalStylesheets(t)})},t.prototype.normalizeTemplateOnly=function(t){var e,n,r=this;return null!=t.template?(e=t.template,n=t.moduleUrl):(n=this._urlResolver.resolve(t.moduleUrl,t.templateUrl),e=this._fetch(n)),Ai.then(e,function(e){return r.normalizeLoadedTemplate(t,e,n)})},t.prototype.normalizeLoadedTemplate=function(t,e,n){var r=!!t.template,i=Es.fromArray(t.interpolation),o=this._htmlParser.parse(e,N({reference:t.ngModuleType},{type:{reference:t.componentType}},{isInline:r,templateUrl:n}),!0,i);if(o.errors.length>0){throw v("Template parse errors:\n"+o.errors.join("\n"))}var s=this.normalizeStylesheet(new Fi({styles:t.styles,styleUrls:t.styleUrls,moduleUrl:t.moduleUrl})),a=new al;lt(a,o.rootNodes);var u=this.normalizeStylesheet(new Fi({styles:a.styles,styleUrls:a.styleUrls,moduleUrl:n})),c=t.encapsulation;null==c&&(c=this._config.defaultEncapsulation);var l=s.styles.concat(u.styles),p=s.styleUrls.concat(u.styleUrls);return c===ti.ViewEncapsulation.Emulated&&0===l.length&&0===p.length&&(c=ti.ViewEncapsulation.None),new Vi({encapsulation:c,template:e,templateUrl:n,styles:l,styleUrls:p,ngContentSelectors:a.ngContentSelectors,animations:t.animations,interpolation:t.interpolation,isInline:r,externalStylesheets:[],preserveWhitespaces:H(t.preserveWhitespaces,this._config.preserveWhitespaces)})},t.prototype.normalizeExternalStylesheets=function(t){return Ai.then(this._loadMissingExternalStylesheets(t.styleUrls),function(e){return new Vi({encapsulation:t.encapsulation,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,externalStylesheets:e,ngContentSelectors:t.ngContentSelectors,animations:t.animations,interpolation:t.interpolation,isInline:t.isInline,preserveWhitespaces:t.preserveWhitespaces})})},t.prototype._loadMissingExternalStylesheets=function(t,e){var n=this;return void 0===e&&(e=new Map),Ai.then(Ai.all(t.filter(function(t){return!e.has(t)}).map(function(t){return Ai.then(n._fetch(t),function(r){var i=n.normalizeStylesheet(new Fi({styles:[r],moduleUrl:t}));return e.set(t,i),n._loadMissingExternalStylesheets(i.styleUrls,e)})})),function(t){return Array.from(e.values())})},t.prototype.normalizeStylesheet=function(t){var e=this,n=t.moduleUrl,r=t.styleUrls.filter(Ce).map(function(t){return e._urlResolver.resolve(n,t)}),i=t.styles.map(function(t){var i=Le(e._urlResolver,n,t);return r.push.apply(r,i.styleUrls),i.style});return new Fi({styles:i,styleUrls:r,moduleUrl:n})},t}();sl.decorators=[{type:z}],sl.ctorParameters=function(){return[{type:el},{type:rl},{type:Nu},{type:Gi}]};var al=function(){function t(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return t.prototype.visitElement=function(t,e){var n=Oe(t);switch(n.type){case Tc.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case Tc.STYLE:var r="";t.children.forEach(function(t){t instanceof zs&&(r+=t.value)}),this.styles.push(r);break;case Tc.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,lt(this,t.children),n.nonBindable&&this.ngNonBindableStackCount--,null},t.prototype.visitExpansion=function(t,e){lt(this,t.cases)},t.prototype.visitExpansionCase=function(t,e){lt(this,t.expression)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return null},t.prototype.visitText=function(t,e){return null},t}(),ul=function(){function t(t){this._reflector=t}return t.prototype.isDirective=function(t){var e=this._reflector.annotations(n.i(ti.resolveForwardRef)(t));return e&&e.some(Ge)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var r=this._reflector.annotations(n.i(ti.resolveForwardRef)(t));if(r){var i=Qe(r,Ge);if(i){var o=this._reflector.propMetadata(t);return this._mergeWithPropertyMetadata(i,o,t)}}if(e)throw new Error("No Directive annotation found on "+n.i(ti["ɵstringify"])(t));return null},t.prototype._mergeWithPropertyMetadata=function(t,e,n){var r=[],i=[],o={},s={};return Object.keys(e).forEach(function(t){var n=Qe(e[t],function(t){return t instanceof ti.Input});n&&(n.bindingPropertyName?r.push(t+": "+n.bindingPropertyName):r.push(t));var a=Qe(e[t],function(t){return t instanceof ti.Output});a&&(a.bindingPropertyName?i.push(t+": "+a.bindingPropertyName):i.push(t)),e[t].filter(function(t){return t&&t instanceof ti.HostBinding}).forEach(function(e){if(e.hostPropertyName){var n=e.hostPropertyName[0];if("("===n)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===n)throw new Error("@HostBinding parameter should be a property name, 'class.', or 'attr.'.");o["["+e.hostPropertyName+"]"]=t}else o["["+t+"]"]=t}),e[t].filter(function(t){return t&&t instanceof ti.HostListener}).forEach(function(e){var n=e.args||[];o["("+e.eventName+")"]=t+"("+n.join(",")+")"});var u=Qe(e[t],function(t){return t instanceof ti.Query});u&&(s[t]=u)}),this._merge(t,r,i,o,s,n)},t.prototype._extractPublicName=function(t){return h(t,[null,t])[1].trim()},t.prototype._dedupeBindings=function(t){for(var e=new Set,n=[],r=t.length-1;r>=0;r--){var i=t[r],o=this._extractPublicName(i);e.has(o)||(e.add(o),n.push(i))}return n.reverse()},t.prototype._merge=function(t,e,n,r,i,o){var s=this._dedupeBindings(t.inputs?t.inputs.concat(e):e),a=this._dedupeBindings(t.outputs?t.outputs.concat(n):n),u=t.host?Object.assign({},t.host,r):r,c=t.queries?Object.assign({},t.queries,i):i;return t instanceof ti.Component?new ti.Component({selector:t.selector,inputs:s,outputs:a,host:u,exportAs:t.exportAs,moduleId:t.moduleId,queries:c,changeDetection:t.changeDetection,providers:t.providers,viewProviders:t.viewProviders,entryComponents:t.entryComponents,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,encapsulation:t.encapsulation,animations:t.animations,interpolation:t.interpolation,preserveWhitespaces:t.preserveWhitespaces}):new ti.Directive({selector:t.selector,inputs:s,outputs:a,host:u,exportAs:t.exportAs,queries:c,providers:t.providers})},t}();ul.decorators=[{type:z}],ul.ctorParameters=function(){return[{type:Ji}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var cl=/(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/,ll=/\.ngfactory\.|\.ngsummary\./,pl=/\.ngsummary\./,hl=/NgSummary$/,fl={};fl.OnInit=0,fl.OnDestroy=1,fl.DoCheck=2,fl.OnChanges=3,fl.AfterContentInit=4,fl.AfterContentChecked=5,fl.AfterViewInit=6,fl.AfterViewChecked=7,fl[fl.OnInit]="OnInit",fl[fl.OnDestroy]="OnDestroy",fl[fl.DoCheck]="DoCheck",fl[fl.OnChanges]="OnChanges",fl[fl.AfterContentInit]="AfterContentInit",fl[fl.AfterContentChecked]="AfterContentChecked",fl[fl.AfterViewInit]="AfterViewInit",fl[fl.AfterViewChecked]="AfterViewChecked";var dl=[fl.OnInit,fl.OnDestroy,fl.DoCheck,fl.OnChanges,fl.AfterContentInit,fl.AfterContentChecked,fl.AfterViewInit,fl.AfterViewChecked],ml=function(){function t(t){this._reflector=t}return t.prototype.isNgModule=function(t){return this._reflector.annotations(t).some(cn)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var r=Qe(this._reflector.annotations(t),cn);if(r)return r;if(e)throw new Error("No NgModule metadata found for '"+n.i(ti["ɵstringify"])(t)+"'.");return null},t}();ml.decorators=[{type:z}],ml.ctorParameters=function(){return[{type:Ji}]};var yl=function(){function t(t){this._reflector=t}return t.prototype.isPipe=function(t){var e=this._reflector.annotations(n.i(ti.resolveForwardRef)(t));return e&&e.some(ln)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var r=this._reflector.annotations(n.i(ti.resolveForwardRef)(t));if(r){var i=Qe(r,ln);if(i)return i}if(e)throw new Error("No Pipe decorator found on "+n.i(ti["ɵstringify"])(t));return null},t}();yl.decorators=[{type:z}],yl.ctorParameters=function(){return[{type:Ji}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var _l=function(){function t(){}return t.prototype.isLibraryFile=function(t){},t.prototype.getLibraryFileName=function(t){},t.prototype.resolveSummary=function(t){},t.prototype.getSymbolsOf=function(t){},t.prototype.getImportAs=function(t){},t.prototype.addSummary=function(t){},t}(),vl=function(){function t(){this._summaries=new Map}return t.prototype.isLibraryFile=function(t){return!1},t.prototype.getLibraryFileName=function(t){return null},t.prototype.resolveSummary=function(t){return this._summaries.get(t)||null},t.prototype.getSymbolsOf=function(t){return[]},t.prototype.getImportAs=function(t){return t},t.prototype.addSummary=function(t){this._summaries.set(t.symbol,t)},t}();vl.decorators=[{type:z}],vl.ctorParameters=function(){return[]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var gl=new ti.InjectionToken("ErrorCollector"),bl=function(){function t(t,e,n,r,i,o,s,a,u,c,l){this._config=t,this._ngModuleResolver=e,this._directiveResolver=n,this._pipeResolver=r,this._summaryResolver=i,this._schemaRegistry=o,this._directiveNormalizer=s,this._console=a,this._staticSymbolCache=u,this._reflector=c,this._errorCollector=l,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map}return t.prototype.getReflector=function(){return this._reflector},t.prototype.clearCacheFor=function(t){var e=this._directiveCache.get(t);this._directiveCache.delete(t),this._nonNormalizedDirectiveCache.delete(t),this._summaryCache.delete(t),this._pipeCache.delete(t),this._ngModuleOfTypes.delete(t),this._ngModuleCache.clear(),e&&this._directiveNormalizer.clearCacheFor(e)},t.prototype.clearCache=function(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()},t.prototype._createProxyClass=function(t,e){var r=null,i=function(){if(!r)throw new Error("Illegal state: Class "+e+" for type "+n.i(ti["ɵstringify"])(t)+" is not compiled yet!");return r.apply(this,arguments)};return i.setDelegate=function(t){r=t,i.prototype=t.prototype},i.overriddenName=e,i},t.prototype.getGeneratedClass=function(t,e){return t instanceof _i?this._staticSymbolCache.get(Ke(t.filePath),e):this._createProxyClass(t,e)},t.prototype.getComponentViewClass=function(t){return this.getGeneratedClass(t,x(t,0))},t.prototype.getHostComponentViewClass=function(t){return this.getGeneratedClass(t,C(t))},t.prototype.getHostComponentType=function(t){var e=S({reference:t})+"_Host";if(t instanceof _i)return this._staticSymbolCache.get(t.filePath,e);var n=function(){};return n.overriddenName=e,n},t.prototype.getRendererType=function(t){return t instanceof _i?this._staticSymbolCache.get(Ke(t.filePath),E(t)):{}},t.prototype.getComponentFactory=function(t,e,r,i){if(e instanceof _i)return this._staticSymbolCache.get(Ke(e.filePath),L(e));var o=this.getHostComponentViewClass(e);return n.i(ti["ɵccf"])(t,e,o,r,i,[])},t.prototype.initComponentFactory=function(t,e){t instanceof _i||(n=t.ngContentSelectors).push.apply(n,e);var n},t.prototype._loadSummary=function(t,e){var n=this._summaryCache.get(t);if(!n){var r=this._summaryResolver.resolveSummary(t);n=r?r.type:null,this._summaryCache.set(t,n||null)}return n&&n.summaryKind===e?n:null},t.prototype.loadDirectiveMetadata=function(t,e,r){var i=this;if(this._directiveCache.has(e))return null;e=n.i(ti.resolveForwardRef)(e);var o=this.getNonNormalizedDirectiveMetadata(e),s=o.annotation,a=o.metadata,u=function(t){var n=new Ui({isHost:!1,type:a.type,isComponent:a.isComponent,selector:a.selector,exportAs:a.exportAs,changeDetection:a.changeDetection,inputs:a.inputs,outputs:a.outputs,hostListeners:a.hostListeners,hostProperties:a.hostProperties,hostAttributes:a.hostAttributes,providers:a.providers,viewProviders:a.viewProviders,queries:a.queries,viewQueries:a.viewQueries,entryComponents:a.entryComponents,componentViewType:a.componentViewType,rendererType:a.rendererType,componentFactory:a.componentFactory,template:t});return t&&i.initComponentFactory(a.componentFactory,t.ngContentSelectors),i._directiveCache.set(e,n),i._summaryCache.set(e,n.toSummary()),null};if(a.isComponent){var c=a.template,l=this._directiveNormalizer.normalizeTemplate({ngModuleType:t,componentType:e,moduleUrl:this._reflector.componentModuleUrl(e,s),encapsulation:c.encapsulation,template:c.template,templateUrl:c.templateUrl,styles:c.styles,styleUrls:c.styleUrls,animations:c.animations,interpolation:c.interpolation,preserveWhitespaces:c.preserveWhitespaces});return n.i(ti["ɵisPromise"])(l)&&r?(this._reportError(_n(e),e),null):Ai.then(l,u)}return u(null),null},t.prototype.getNonNormalizedDirectiveMetadata=function(t){var e=this;if(!(t=n.i(ti.resolveForwardRef)(t)))return null;var r=this._nonNormalizedDirectiveCache.get(t);if(r)return r;var i=this._directiveResolver.resolve(t,!1);if(!i)return null;var o=void 0;if(i instanceof ti.Component){B("styles",i.styles),B("styleUrls",i.styleUrls),q("interpolation",i.interpolation);var s=i.animations;o=new Vi({encapsulation:_(i.encapsulation),template:_(i.template),templateUrl:_(i.templateUrl),styles:i.styles||[],styleUrls:i.styleUrls||[],animations:s||[],interpolation:_(i.interpolation),isInline:!!i.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:_(i.preserveWhitespaces)})}var a=null,u=[],c=[],l=i.selector;i instanceof ti.Component?(a=i.changeDetection,i.viewProviders&&(u=this._getProvidersMetadata(i.viewProviders,c,'viewProviders for "'+yn(t)+'"',[],t)),i.entryComponents&&(c=fn(i.entryComponents).map(function(t){return e._getEntryComponentMetadata(t)}).concat(c)),l||(l=this._schemaRegistry.getDefaultComponentElementName())):l||(this._reportError(v("Directive "+yn(t)+" has no selector, please add it!"),t),l="error");var p=[];null!=i.providers&&(p=this._getProvidersMetadata(i.providers,c,'providers for "'+yn(t)+'"',[],t));var h=[],f=[];null!=i.queries&&(h=this._getQueriesMetadata(i.queries,!1,t),f=this._getQueriesMetadata(i.queries,!0,t));var d=Ui.create({isHost:!1,selector:l,exportAs:_(i.exportAs),isComponent:!!o,type:this._getTypeMetadata(t),template:o,changeDetection:a,inputs:i.inputs||[],outputs:i.outputs||[],host:i.host||{},providers:p||[],viewProviders:u||[],queries:h||[],viewQueries:f||[],entryComponents:c,componentViewType:o?this.getComponentViewClass(t):null,rendererType:o?this.getRendererType(t):null,componentFactory:null});return o&&(d.componentFactory=this.getComponentFactory(l,t,d.inputs,d.outputs)),r={metadata:d,annotation:i},this._nonNormalizedDirectiveCache.set(t,r),r},t.prototype.getDirectiveMetadata=function(t){var e=this._directiveCache.get(t);return e||this._reportError(v("Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive "+yn(t)+"."),t),e},t.prototype.getDirectiveSummary=function(t){var e=this._loadSummary(t,Hi.Directive);return e||this._reportError(v("Illegal state: Could not load the summary for directive "+yn(t)+"."),t),e},t.prototype.isDirective=function(t){return!!this._loadSummary(t,Hi.Directive)||this._directiveResolver.isDirective(t)},t.prototype.isPipe=function(t){return!!this._loadSummary(t,Hi.Pipe)||this._pipeResolver.isPipe(t)},t.prototype.isNgModule=function(t){return!!this._loadSummary(t,Hi.NgModule)||this._ngModuleResolver.isNgModule(t)},t.prototype.getNgModuleSummary=function(t){var e=this._loadSummary(t,Hi.NgModule);if(!e){var n=this.getNgModuleMetadata(t,!1);e=n?n.toSummary():null,e&&this._summaryCache.set(t,e)}return e},t.prototype.loadNgModuleDirectiveAndPipeMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=this.getNgModuleMetadata(t,n),o=[];return i&&(i.declaredDirectives.forEach(function(n){var i=r.loadDirectiveMetadata(t,n.reference,e);i&&o.push(i)}),i.declaredPipes.forEach(function(t){return r._loadPipeMetadata(t.reference)})),Promise.all(o)},t.prototype.getNgModuleMetadata=function(t,e){var r=this;void 0===e&&(e=!0),t=n.i(ti.resolveForwardRef)(t);var i=this._ngModuleCache.get(t);if(i)return i;var o=this._ngModuleResolver.resolve(t,e);if(!o)return null;var s=[],a=[],u=[],c=[],l=[],p=[],h=[],f=[],d=[];o.imports&&fn(o.imports).forEach(function(e){var n=void 0;if(dn(e))n=e;else if(e&&e.ngModule){var i=e;n=i.ngModule,i.providers&&p.push.apply(p,r._getProvidersMetadata(i.providers,h,"provider for the NgModule '"+yn(n)+"'",[],e))}if(!n)return void r._reportError(v("Unexpected value '"+yn(e)+"' imported by the module '"+yn(t)+"'"),t);if(!r._checkSelfImport(t,n)){var o=r.getNgModuleSummary(n);if(!o)return void r._reportError(v("Unexpected "+r._getTypeDescriptor(e)+" '"+yn(e)+"' imported by the module '"+yn(t)+"'. Please add a @NgModule annotation."),t);c.push(o)}}),o.exports&&fn(o.exports).forEach(function(e){if(!dn(e))return void r._reportError(v("Unexpected value '"+yn(e)+"' exported by the module '"+yn(t)+"'"),t);var n=r.getNgModuleSummary(e);n?l.push(n):a.push(r._getIdentifierMetadata(e))});var m=this._getTransitiveNgModuleMetadata(c,l);o.declarations&&fn(o.declarations).forEach(function(e){if(!dn(e))return void r._reportError(v("Unexpected value '"+yn(e)+"' declared by the module '"+yn(t)+"'"),t);var n=r._getIdentifierMetadata(e);if(r.isDirective(e))m.addDirective(n),s.push(n),r._addTypeToModule(e,t);else{if(!r.isPipe(e))return void r._reportError(v("Unexpected "+r._getTypeDescriptor(e)+" '"+yn(e)+"' declared by the module '"+yn(t)+"'. Please add a @Pipe/@Directive/@Component annotation."),t);m.addPipe(n),m.pipes.push(n),u.push(n),r._addTypeToModule(e,t)}});var y=[],_=[];return a.forEach(function(e){if(m.directivesSet.has(e.reference))y.push(e),m.addExportedDirective(e);else{if(!m.pipesSet.has(e.reference))return void r._reportError(v("Can't export "+r._getTypeDescriptor(e.reference)+" "+yn(e.reference)+" from "+yn(t)+" as it was neither declared nor imported!"),t);_.push(e),m.addExportedPipe(e)}}),o.providers&&p.push.apply(p,this._getProvidersMetadata(o.providers,h,"provider for the NgModule '"+yn(t)+"'",[],t)),o.entryComponents&&h.push.apply(h,fn(o.entryComponents).map(function(t){return r._getEntryComponentMetadata(t)})),o.bootstrap&&fn(o.bootstrap).forEach(function(e){if(!dn(e))return void r._reportError(v("Unexpected value '"+yn(e)+"' used in the bootstrap property of module '"+yn(t)+"'"),t);f.push(r._getIdentifierMetadata(e))}),h.push.apply(h,f.map(function(t){return r._getEntryComponentMetadata(t.reference)})),o.schemas&&d.push.apply(d,fn(o.schemas)),i=new zi({type:this._getTypeMetadata(t),providers:p,entryComponents:h,bootstrapComponents:f,schemas:d,declaredDirectives:s,exportedDirectives:y,declaredPipes:u,exportedPipes:_,importedModules:c,exportedModules:l,transitiveModule:m,id:o.id||null}),h.forEach(function(t){return m.addEntryComponent(t)}),p.forEach(function(t){return m.addProvider(t,i.type)}),m.addModule(i.type),this._ngModuleCache.set(t,i),i},t.prototype._checkSelfImport=function(t,e){return t===e&&(this._reportError(v("'"+yn(t)+"' module can't import itself"),t),!0)},t.prototype._getTypeDescriptor=function(t){return this.isDirective(t)?"directive":this.isPipe(t)?"pipe":this.isNgModule(t)?"module":t.provide?"provider":"value"},t.prototype._addTypeToModule=function(t,e){var n=this._ngModuleOfTypes.get(t);if(n&&n!==e)return void this._reportError(v("Type "+yn(t)+" is part of the declarations of 2 modules: "+yn(n)+" and "+yn(e)+"! Please consider moving "+yn(t)+" to a higher module that imports "+yn(n)+" and "+yn(e)+". You can also create a new NgModule that exports and includes "+yn(t)+" then import that NgModule in "+yn(n)+" and "+yn(e)+"."),e);this._ngModuleOfTypes.set(t,e)},t.prototype._getTransitiveNgModuleMetadata=function(t,e){var n=new Bi,r=new Map;return t.concat(e).forEach(function(t){t.modules.forEach(function(t){return n.addModule(t)}),t.entryComponents.forEach(function(t){return n.addEntryComponent(t)});var e=new Set;t.providers.forEach(function(t){var i=D(t.provider.token),o=r.get(i);o||(o=new Set,r.set(i,o));var s=t.module.reference;!e.has(i)&&o.has(s)||(o.add(s),e.add(i),n.addProvider(t.provider,t.module))})}),e.forEach(function(t){t.exportedDirectives.forEach(function(t){return n.addExportedDirective(t)}),t.exportedPipes.forEach(function(t){return n.addExportedPipe(t)})}),t.forEach(function(t){t.exportedDirectives.forEach(function(t){return n.addDirective(t)}),t.exportedPipes.forEach(function(t){return n.addPipe(t)})}),n},t.prototype._getIdentifierMetadata=function(t){return t=n.i(ti.resolveForwardRef)(t),{reference:t}},t.prototype.isInjectable=function(t){return this._reflector.annotations(t).some(function(t){return t.constructor===ti.Injectable})},t.prototype.getInjectableSummary=function(t){return{summaryKind:Hi.Injectable,type:this._getTypeMetadata(t,null,!1)}},t.prototype._getInjectableMetadata=function(t,e){void 0===e&&(e=null);var n=this._loadSummary(t,Hi.Injectable);return n?n.type:this._getTypeMetadata(t,e)},t.prototype._getTypeMetadata=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=!0);var r=this._getIdentifierMetadata(t);return{reference:r.reference,diDeps:this._getDependenciesMetadata(r.reference,e,n),lifecycleHooks:an(this._reflector,r.reference)}},t.prototype._getFactoryMetadata=function(t,e){return void 0===e&&(e=null),t=n.i(ti.resolveForwardRef)(t),{reference:t,diDeps:this._getDependenciesMetadata(t,e)}},t.prototype.getPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||this._reportError(v("Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe "+yn(t)+"."),t),e||null},t.prototype.getPipeSummary=function(t){var e=this._loadSummary(t,Hi.Pipe);return e||this._reportError(v("Illegal state: Could not load the summary for pipe "+yn(t)+"."),t),e},t.prototype.getOrLoadPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||(e=this._loadPipeMetadata(t)),e},t.prototype._loadPipeMetadata=function(t){t=n.i(ti.resolveForwardRef)(t);var e=this._pipeResolver.resolve(t),r=new Wi({type:this._getTypeMetadata(t),name:e.name,pure:!!e.pure});return this._pipeCache.set(t,r),this._summaryCache.set(t,r.toSummary()),r},t.prototype._getDependenciesMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=!1,o=e||this._reflector.parameters(t)||[],s=o.map(function(t){var e=!1,n=!1,o=!1,s=!1,a=!1,u=null;return Array.isArray(t)?t.forEach(function(t){t instanceof ti.Host?n=!0:t instanceof ti.Self?o=!0:t instanceof ti.SkipSelf?s=!0:t instanceof ti.Optional?a=!0:t instanceof ti.Attribute?(e=!0,u=t.attributeName):t instanceof ti.Inject?u=t.token:t instanceof ti.InjectionToken?u=t:dn(t)&&null==u&&(u=t)}):u=t,null==u?(i=!0,null):{isAttribute:e,isHost:n,isSelf:o,isSkipSelf:s,isOptional:a,token:r._getTokenMetadata(u)}});if(i){var a=s.map(function(t){return t?yn(t.token):"?"}).join(", "),u="Can't resolve all parameters for "+yn(t)+": ("+a+").";n?this._reportError(v(u),t):this._console.warn("Warning: "+u+" This will become an error in Angular v5.x")}return s},t.prototype._getTokenMetadata=function(t){t=n.i(ti.resolveForwardRef)(t);return"string"==typeof t?{value:t}:{identifier:{reference:t}}},t.prototype._getProvidersMetadata=function(t,e,r,i,o){var s=this;return void 0===i&&(i=[]),t.forEach(function(a,u){if(Array.isArray(a))s._getProvidersMetadata(a,e,r,i);else{a=n.i(ti.resolveForwardRef)(a);var c=void 0;if(a&&"object"==typeof a&&a.hasOwnProperty("provide"))s._validateProvider(a),c=new qi(a.provide,a);else{if(!dn(a)){if(void 0===a)return void s._reportError(v("Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by using 'barrel' index.ts files."));var l=t.reduce(function(t,e,n){return n0&&(this._currentLine.parts.push(e),this._currentLine.partsLength+=e.length,this._currentLine.srcSpans.push(t&&t.sourceSpan||null)),n&&this._lines.push(new jp(this._indent))},t.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},t.prototype.incIndent=function(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},t.prototype.decIndent=function(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},t.prototype.pushClass=function(t){this._classes.push(t)},t.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(t.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),t.prototype.toSource=function(){return this.sourceLines.map(function(t){return t.parts.length>0?Wn(t.indent)+t.parts.join(""):""}).join("\n")},t.prototype.toSourceMapGenerator=function(t,e,n){void 0===n&&(n=0);for(var r=new Op(e),i=!1,o=function(){i||(r.addSource(t," ").addMapping(0,t,0,0),i=!0)},s=0;sr)return n.srcSpans[i];r-=o.length}return null},Object.defineProperty(t.prototype,"sourceLines",{get:function(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines},enumerable:!0,configurable:!0}),t}(),Fp=function(){function t(t){this._escapeDollarInStrings=t}return t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitReturnStmt=function(t,e){return e.print(t,"return "),t.value.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitCastExpr=function(t,e){},t.prototype.visitDeclareClassStmt=function(t,e){},t.prototype.visitIfStmt=function(t,e){e.print(t,"if ("),t.condition.visitExpression(this,e),e.print(t,") {");var n=null!=t.falseCase&&t.falseCase.length>0;return t.trueCase.length<=1&&!n?(e.print(t," "),this.visitAllStatements(t.trueCase,e),e.removeEmptyLastLine(),e.print(t," ")):(e.println(),e.incIndent(),this.visitAllStatements(t.trueCase,e),e.decIndent(),n&&(e.println(t,"} else {"),e.incIndent(),this.visitAllStatements(t.falseCase,e),e.decIndent())),e.println(t,"}"),null},t.prototype.visitTryCatchStmt=function(t,e){},t.prototype.visitThrowStmt=function(t,e){return e.print(t,"throw "),t.error.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitCommentStmt=function(t,e){return t.comment.split("\n").forEach(function(n){e.println(t,"// "+n)}),null},t.prototype.visitDeclareVarStmt=function(t,e){},t.prototype.visitWriteVarExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),e.print(t,t.name+" = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitWriteKeyExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"["),t.index.visitExpression(this,e),e.print(t,"] = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitWritePropExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"."+t.name+" = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitInvokeMethodExpr=function(t,e){t.receiver.visitExpression(this,e);var n=t.name;return null!=t.builtin&&null==(n=this.getBuiltinMethodName(t.builtin))?null:(e.print(t,"."+n+"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null)},t.prototype.getBuiltinMethodName=function(t){},t.prototype.visitInvokeFunctionExpr=function(t,e){return t.fn.visitExpression(this,e),e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},t.prototype.visitReadVarExpr=function(t,e){var n=t.name;if(null!=t.builtin)switch(t.builtin){case Yl.Super:n="super";break;case Yl.This:n="this";break;case Yl.CatchError:n=Ip.name;break;case Yl.CatchStack:n=Rp.name;break;default:throw new Error("Unknown builtin variable "+t.builtin)}return e.print(t,n),null},t.prototype.visitInstantiateExpr=function(t,e){return e.print(t,"new "),t.classExpr.visitExpression(this,e),e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},t.prototype.visitLiteralExpr=function(t,e){var n=t.value;return"string"==typeof n?e.print(t,Un(n,this._escapeDollarInStrings)):e.print(t,""+n),null},t.prototype.visitExternalExpr=function(t,e){},t.prototype.visitConditionalExpr=function(t,e){return e.print(t,"("),t.condition.visitExpression(this,e),e.print(t,"? "),t.trueCase.visitExpression(this,e),e.print(t,": "),t.falseCase.visitExpression(this,e),e.print(t,")"),null},t.prototype.visitNotExpr=function(t,e){return e.print(t,"!"),t.condition.visitExpression(this,e),null},t.prototype.visitAssertNotNullExpr=function(t,e){return t.condition.visitExpression(this,e),null},t.prototype.visitFunctionExpr=function(t,e){},t.prototype.visitDeclareFunctionStmt=function(t,e){},t.prototype.visitBinaryOperatorExpr=function(t,e){var n;switch(t.operator){case Pl.Equals:n="==";break;case Pl.Identical:n="===";break;case Pl.NotEquals:n="!=";break;case Pl.NotIdentical:n="!==";break;case Pl.And:n="&&";break;case Pl.Or:n="||";break;case Pl.Plus:n="+";break;case Pl.Minus:n="-";break;case Pl.Divide:n="/";break;case Pl.Multiply:n="*";break;case Pl.Modulo:n="%";break;case Pl.Lower:n="<";break;case Pl.LowerEquals:n="<=";break;case Pl.Bigger:n=">";break;case Pl.BiggerEquals:n=">=";break;default:throw new Error("Unknown operator "+t.operator)}return e.print(t,"("),t.lhs.visitExpression(this,e),e.print(t," "+n+" "),t.rhs.visitExpression(this,e),e.print(t,")"),null},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print(t,"."),e.print(t,t.name),null},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print(t,"["),t.index.visitExpression(this,e),e.print(t,"]"),null},t.prototype.visitLiteralArrayExpr=function(t,e){return e.print(t,"["),this.visitAllExpressions(t.entries,e,","),e.print(t,"]"),null},t.prototype.visitLiteralMapExpr=function(t,e){var n=this;return e.print(t,"{"),this.visitAllObjects(function(r){e.print(t,Un(r.key,n._escapeDollarInStrings,r.quoted)+":"),r.value.visitExpression(n,e)},t.entries,e,","),e.print(t,"}"),null},t.prototype.visitCommaExpr=function(t,e){return e.print(t,"("),this.visitAllExpressions(t.parts,e,","),e.print(t,")"),null},t.prototype.visitAllExpressions=function(t,e,n){var r=this;this.visitAllObjects(function(t){return t.visitExpression(r,e)},t,e,n)},t.prototype.visitAllObjects=function(t,e,n,r){for(var i=!1,o=0;o0&&(n.lineLength()>80?(n.print(null,r,!0),i||(n.incIndent(),n.incIndent(),i=!0)):n.print(null,r,!1)),t(e[o]);i&&(n.decIndent(),n.decIndent())},t.prototype.visitAllStatements=function(t,e){var n=this;t.forEach(function(t){return t.visitStatement(n,e)})},t}(),Vp=(function(){function t(){}t.prototype.emitStatementsAndContext=function(t,e,n,r,i){void 0===r&&(r=""),void 0===i&&(i=!0);var o=new Vp,s=Hp.createRoot();o.visitAllStatements(n,s);var a=r?r.split("\n"):[];o.reexports.forEach(function(t,e){var n=t.map(function(t){return t.name+" as "+t.as}).join(",");a.push("export {"+n+"} from '"+e+"';")}),o.importsWithPrefixes.forEach(function(t,e){a.push("import * as "+t+" from '"+e+"';")});var u=i?s.toSourceMapGenerator(t,e,a.length).toJsComment():"",c=a.concat([s.toSource(),u]);return u&&c.push(""),s.setPreambleLineCount(a.length),{sourceText:c.join("\n"),context:s}},t.prototype.emitStatements=function(t,e,n,r){return void 0===r&&(r=""),this.emitStatementsAndContext(t,e,n,r).sourceText}}(),function(t){function e(){var e=t.call(this,!1)||this;return e.typeExpression=0,e.importsWithPrefixes=new Map,e.reexports=new Map,e}return $r.a(e,t),e.prototype.visitType=function(t,e,n){void 0===n&&(n="any"),t?(this.typeExpression++,t.visitType(this,e),this.typeExpression--):e.print(null,n)},e.prototype.visitLiteralExpr=function(e,n){var r=e.value;return null==r&&e.type!=Dl?(n.print(e,"("+r+" as any)"),null):t.prototype.visitLiteralExpr.call(this,e,n)},e.prototype.visitLiteralArrayExpr=function(e,n){0===e.entries.length&&n.print(e,"(");var r=t.prototype.visitLiteralArrayExpr.call(this,e,n);return 0===e.entries.length&&n.print(e," as any[])"),r},e.prototype.visitExternalExpr=function(t,e){return this._visitIdentifier(t.value,t.typeParams,e),null},e.prototype.visitAssertNotNullExpr=function(e,n){var r=t.prototype.visitAssertNotNullExpr.call(this,e,n);return n.print(e,"!"),r},e.prototype.visitDeclareVarStmt=function(t,e){if(t.hasModifier(ap.Exported)&&t.value instanceof zl&&!t.type){var n=t.value.value,r=n.name,i=n.moduleName;if(i){var o=this.reexports.get(i);return o||(o=[],this.reexports.set(i,o)),o.push({name:r,as:t.name}),null}}return t.hasModifier(ap.Exported)&&e.print(t,"export "),t.hasModifier(ap.Final)?e.print(t,"const"):e.print(t,"var"),e.print(t," "+t.name),this._printColonType(t.type,e),e.print(t," = "),t.value.visitExpression(this,e),e.println(t,";"),null},e.prototype.visitCastExpr=function(t,e){return e.print(t,"(<"),t.type.visitType(this,e),e.print(t,">"),t.value.visitExpression(this,e),e.print(t,")"),null},e.prototype.visitInstantiateExpr=function(t,e){return e.print(t,"new "),this.typeExpression++,t.classExpr.visitExpression(this,e),this.typeExpression--,e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},e.prototype.visitDeclareClassStmt=function(t,e){var n=this;return e.pushClass(t),t.hasModifier(ap.Exported)&&e.print(t,"export "),e.print(t,"class "+t.name),null!=t.parent&&(e.print(t," extends "),this.typeExpression++,t.parent.visitExpression(this,e),this.typeExpression--),e.println(t," {"),e.incIndent(),t.fields.forEach(function(t){return n._visitClassField(t,e)}),null!=t.constructorMethod&&this._visitClassConstructor(t,e),t.getters.forEach(function(t){return n._visitClassGetter(t,e)}),t.methods.forEach(function(t){return n._visitClassMethod(t,e)}),e.decIndent(),e.println(t,"}"),e.popClass(),null},e.prototype._visitClassField=function(t,e){t.hasModifier(ap.Private)&&e.print(null,"/*private*/ "),e.print(null,t.name),this._printColonType(t.type,e),e.println(null,";")},e.prototype._visitClassGetter=function(t,e){t.hasModifier(ap.Private)&&e.print(null,"private "),e.print(null,"get "+t.name+"()"),this._printColonType(t.type,e),e.println(null," {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println(null,"}")},e.prototype._visitClassConstructor=function(t,e){e.print(t,"constructor("),this._visitParams(t.constructorMethod.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.constructorMethod.body,e),e.decIndent(),e.println(t,"}")},e.prototype._visitClassMethod=function(t,e){t.hasModifier(ap.Private)&&e.print(null,"private "),e.print(null,t.name+"("),this._visitParams(t.params,e),e.print(null,")"),this._printColonType(t.type,e,"void"),e.println(null," {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println(null,"}")},e.prototype.visitFunctionExpr=function(t,e){return e.print(t,"("),this._visitParams(t.params,e),e.print(t,")"),this._printColonType(t.type,e,"void"),e.println(t," => {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null},e.prototype.visitDeclareFunctionStmt=function(t,e){return t.hasModifier(ap.Exported)&&e.print(t,"export "),e.print(t,"function "+t.name+"("),this._visitParams(t.params,e),e.print(t,")"),this._printColonType(t.type,e,"void"),e.println(t," {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println(t,"}"),null},e.prototype.visitTryCatchStmt=function(t,e){e.println(t,"try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println(t,"} catch ("+Ip.name+") {"),e.incIndent();var n=[Rp.set(Ip.prop("stack",null)).toDeclStmt(null,[ap.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println(t,"}"),null},e.prototype.visitBuiltintType=function(t,e){var n;switch(t.name){case Tl.Bool:n="boolean";break;case Tl.Dynamic:n="any";break;case Tl.Function:n="Function";break;case Tl.Number:case Tl.Int:n="number";break;case Tl.String:n="string";break;default:throw new Error("Unsupported builtin type "+t.name)}return e.print(null,n),null},e.prototype.visitExpressionType=function(t,e){return t.value.visitExpression(this,e),null},e.prototype.visitArrayType=function(t,e){return this.visitType(t.of,e),e.print(null,"[]"),null},e.prototype.visitMapType=function(t,e){return e.print(null,"{[key: string]:"),this.visitType(t.valueType,e),e.print(null,"}"),null},e.prototype.getBuiltinMethodName=function(t){var e;switch(t){case Hl.ConcatArray:e="concat";break;case Hl.SubscribeObservable:e="subscribe";break;case Hl.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},e.prototype._visitParams=function(t,e){var n=this;this.visitAllObjects(function(t){e.print(null,t.name),n._printColonType(t.type,e)},t,e,",")},e.prototype._visitIdentifier=function(t,e,n){var r=this,i=t.name,o=t.moduleName;if(o){var s=this.importsWithPrefixes.get(o);null==s&&(s="i"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(o,s)),n.print(null,s+".")}if(n.print(null,i),this.typeExpression>0){(e||[]).length>0&&(n.print(null,"<"),this.visitAllObjects(function(t){return t.visitType(r,n)},e,n,","),n.print(null,">"))}},e.prototype._printColonType=function(t,e,n){t!==Dl&&(e.print(null,":"),this.visitType(t,e,n))},e}(Fp)),Up={};Bn(ti.SecurityContext.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Bn(ti.SecurityContext.STYLE,["*|style"]),Bn(ti.SecurityContext.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),Bn(ti.SecurityContext.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"]);/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Wp="boolean",zp="number",Bp="string",qp="object",Jp=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Gp={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Qp=function(t){function e(){var e=t.call(this)||this;return e._schema={},Jp.forEach(function(t){var n={},r=t.split("|"),i=r[0],o=r[1],s=o.split(","),a=i.split("^"),u=a[0],c=a[1];u.split(",").forEach(function(t){return e._schema[t.toLowerCase()]=n});var l=c&&e._schema[c.toLowerCase()];l&&Object.keys(l).forEach(function(t){n[t]=l[t]}),s.forEach(function(t){if(t.length>0)switch(t[0]){case"*":break;case"!":n[t.substring(1)]=Wp;break;case"#":n[t.substring(1)]=zp;break;case"%":n[t.substring(1)]=qp;break;default:n[t]=Bp}})}),e}return $r.a(e,t),e.prototype.hasProperty=function(t,e,n){if(n.some(function(t){return t.name===ti.NO_ERRORS_SCHEMA.name}))return!0;if(t.indexOf("-")>-1){if(o(t)||s(t))return!1;if(n.some(function(t){return t.name===ti.CUSTOM_ELEMENTS_SCHEMA.name}))return!0}return!!(this._schema[t.toLowerCase()]||this._schema.unknown)[e]},e.prototype.hasElement=function(t,e){if(e.some(function(t){return t.name===ti.NO_ERRORS_SCHEMA.name}))return!0;if(t.indexOf("-")>-1){if(o(t)||s(t))return!0;if(e.some(function(t){return t.name===ti.CUSTOM_ELEMENTS_SCHEMA.name}))return!0}return!!this._schema[t.toLowerCase()]},e.prototype.securityContext=function(t,e,n){n&&(e=this.getMappedPropName(e)),t=t.toLowerCase(),e=e.toLowerCase();var r=Up[t+"|"+e];return r||((r=Up["*|"+e])||ti.SecurityContext.NONE)},e.prototype.getMappedPropName=function(t){return Gp[t]||t},e.prototype.getDefaultComponentElementName=function(){return"ng-component"},e.prototype.validateProperty=function(t){if(t.toLowerCase().startsWith("on")){return{error:!0,msg:"Binding to event property '"+t+"' is disallowed for security reasons, please use ("+t.slice(2)+")=...\nIf '"+t+"' is a directive input, make sure the directive is imported by the current module."}}return{error:!1}},e.prototype.validateAttribute=function(t){if(t.toLowerCase().startsWith("on")){return{error:!0,msg:"Binding to event attribute '"+t+"' is disallowed for security reasons, please use ("+t.slice(2)+")=..."}}return{error:!1}},e.prototype.allKnownElementNames=function(){return Object.keys(this._schema)},e.prototype.normalizeAnimationStyleProperty=function(t){return p(t)},e.prototype.normalizeAnimationStyleValue=function(t,e,n){var r="",i=n.toString().trim(),o=null;if(qn(t)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&(o="Please provide a CSS unit value for "+e+":"+n)}return{error:o,value:i+r}},e}(ec);Qp.decorators=[{type:z}],Qp.ctorParameters=function(){return[]};var Kp=function(){function t(){this.strictStyling=!0}return t.prototype.shimCssText=function(t,e,n){void 0===n&&(n="");var r=Gn(t);return t=Jn(t),t=this._insertDirectives(t),this._scopeCssText(t,e,n)+r},t.prototype._insertDirectives=function(t){return t=this._insertPolyfillDirectivesInCssText(t),this._insertPolyfillRulesInCssText(t)},t.prototype._insertPolyfillDirectivesInCssText=function(t){return t.replace(Xp,function(){for(var t=[],e=0;e-1?this._colonHostPartReplacer(t,e,n):t+e+n+", "+e+" "+t+n},t.prototype._colonHostPartReplacer=function(t,e,n){return t+e.replace(eh,"")+n},t.prototype._convertShadowDOMSelectors=function(t){return uh.reduce(function(t,e){return t.replace(e," ")},t)},t.prototype._scopeSelectors=function(t,e,n){var r=this;return Qn(t,function(t){var i=t.selector,o=t.content;return"@"!=t.selector[0]?i=r._scopeSelector(t.selector,e,n,r.strictStyling):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(o=r._scopeSelectors(t.content,e,n)),new wh(i,o)})},t.prototype._scopeSelector=function(t,e,n,r){var i=this;return t.split(",").map(function(t){return t.trim().split(ch)}).map(function(t){var o=t[0],s=t.slice(1);return[function(t){return i._selectorNeedsScoping(t,e)?r?i._applyStrictSelectorScope(t,e,n):i._applySelectorScope(t,e,n):t}(o)].concat(s).join(" ")}).join(", ")},t.prototype._selectorNeedsScoping=function(t,e){return!this._makeScopeMatcher(e).test(t)},t.prototype._makeScopeMatcher=function(t){var e=/\[/g,n=/\]/g;return t=t.replace(e,"\\[").replace(n,"\\]"),new RegExp("^("+t+")"+lh,"m")},t.prototype._applySelectorScope=function(t,e,n){return this._applySimpleSelectorScope(t,e,n)},t.prototype._applySimpleSelectorScope=function(t,e,n){if(ph.lastIndex=0,ph.test(t)){var r=this.strictStyling?"["+n+"]":e;return t.replace(ah,function(t,e){return e.replace(/([^:]*)(:*)(.*)/,function(t,e,n,i){return e+r+n+i})}).replace(ph,r+" ")}return e+" "+t},t.prototype._applyStrictSelectorScope=function(t,e,n){var r=this,i=/\[is=([^\]]*)\]/g;e=e.replace(i,function(t){for(var e=[],n=1;n-1)i=r._applySimpleSelectorScope(t,e,n);else{var s=t.replace(ph,"");if(s.length>0){var a=s.match(/([^:]*)(:*)(.*)/);a&&(i=a[1]+o+a[2]+a[3])}}return i},a=new Zp(t);t=a.content();for(var u,c="",l=0,p=/( |>|\+|~(?!=))\s*/g,h=t.indexOf(sh);null!==(u=p.exec(t));){var f=u[1],d=t.slice(l,u.index).trim();c+=(l>=h?s(d):d)+" "+f+" ",l=p.lastIndex}return c+=s(t.substring(l)),a.restore(c)},t.prototype._insertPolyfillHostInCssText=function(t){return t.replace(fh,nh).replace(hh,eh)},t}(),Zp=function(){function t(t){var e=this;this.placeholders=[],this.index=0,t=t.replace(/(\[[^\]]*\])/g,function(t,n){var r="__ph-"+e.index+"__";return e.placeholders.push(n),e.index++,r}),this._content=t.replace(/(:nth-[-\w]+)(\([^)]+\))/g,function(t,n,r){var i="__ph-"+e.index+"__";return e.placeholders.push(r),e.index++,n+i})}return t.prototype.restore=function(t){var e=this;return t.replace(/__ph-(\d+)__/g,function(t,n){return e.placeholders[+n]})},t.prototype.content=function(){return this._content},t}(),Xp=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,$p=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,th=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,eh="-shadowcsshost",nh="-shadowcsscontext",rh=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ih=new RegExp("("+eh+rh,"gim"),oh=new RegExp("("+nh+rh,"gim"),sh=eh+"-no-combinator",ah=/-shadowcsshost-no-combinator([^\s]*)/,uh=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],ch=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,lh="([>\\s~+[.,{:][\\s\\S]*)?$",ph=/-shadowcsshost/gim,hh=/:host/gim,fh=/:host-context/gim,dh=/\/\*\s*[\s\S]*?\*\//g,mh=/\/\*\s*#\s*sourceMappingURL=[\s\S]+?\*\//,yh=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,_h=/([{}])/g,vh="{",gh="}",bh="%BLOCK%",wh=function(){function t(t,e){this.selector=t,this.content=e}return t}(),Mh=function(){function t(t,e){this.escapedString=t,this.blocks=e}return t}(),Sh="%COMP%",Th="_nghost-"+Sh,xh="_ngcontent-"+Sh,Eh=function(){function t(t,e,n){this.name=t,this.moduleUrl=e,this.setValue=n}return t}(),Ch=function(){function t(t,e,n,r,i){this.outputCtx=t,this.stylesVar=e,this.dependencies=n,this.isShimmed=r,this.meta=i}return t}(),Lh=function(){function t(t){this._urlResolver=t,this._shadowCss=new Kp}return t.prototype.compileComponent=function(t,e){var n=e.template;return this._compileStyles(t,e,new Fi({styles:n.styles,styleUrls:n.styleUrls,moduleUrl:T(e.type)}),!0)},t.prototype.compileStyles=function(t,e,n){return this._compileStyles(t,e,n,!1)},t.prototype.needsStyleShim=function(t){return t.template.encapsulation===ti.ViewEncapsulation.Emulated},t.prototype._compileStyles=function(t,e,n,r){var i=this,o=this.needsStyleShim(e),s=n.styles.map(function(t){return Dn(i._shimIfNeeded(t,o))}),a=[];n.styleUrls.forEach(function(e){var n=s.length;s.push(null),a.push(new Eh(Zn(null),e,function(e){return s[n]=t.importExpr(e)}))});var u=Zn(r?e:null),c=wn(u).set(xn(s,new Cl(kl,[Ml.Const]))).toDeclStmt(null,r?[ap.Final]:[ap.Final,ap.Exported]);return t.statements.push(c),new Ch(t,u,a,o,n)},t.prototype._shimIfNeeded=function(t,e){return e?this._shadowCss.shimCssText(t,xh,Th):t},t}();Lh.decorators=[{type:z}],Lh.ctorParameters=function(){return[{type:rl}]};/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var kh=function(){function t(){}return t}();kh.event=wn("$event");var Dh=function(){function t(t,e){this.stmts=t,this.allowDefault=e}return t}(),Oh=function(){function t(t,e){this.stmts=t,this.currValExpr=e}return t}(),Ph={};Ph.Statement=0,Ph.Expression=1,Ph[Ph.Statement]="Statement",Ph[Ph.Expression]="Expression";var Ah=function(t){function e(e){var n=t.call(this)||this;return n._converterFactory=e,n}return $r.a(e,t),e.prototype.visitPipe=function(t,e){var n=this,r=[t.exp].concat(t.args).map(function(t){return t.visit(n,e)});return new Ih(t.span,r,this._converterFactory.createPipeConverter(t.name,r.length))},e.prototype.visitLiteralArray=function(t,e){var n=this,r=t.expressions.map(function(t){return t.visit(n,e)});return new Ih(t.span,r,this._converterFactory.createLiteralArrayConverter(t.expressions.length))},e.prototype.visitLiteralMap=function(t,e){var n=this,r=t.values.map(function(t){return t.visit(n,e)});return new Ih(t.span,r,this._converterFactory.createLiteralMapConverter(t.keys))},e}(So),Yh=function(){function t(t,e,n){this._localResolver=t,this._implicitReceiver=e,this.bindingId=n,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0}return t.prototype.visitBinary=function(t,e){var n;switch(t.operation){case"+":n=Pl.Plus;break;case"-":n=Pl.Minus;break;case"*":n=Pl.Multiply;break;case"/":n=Pl.Divide;break;case"%":n=Pl.Modulo;break;case"&&":n=Pl.And;break;case"||":n=Pl.Or;break;case"==":n=Pl.Equals;break;case"!=":n=Pl.NotEquals;break;case"===":n=Pl.Identical;break;case"!==":n=Pl.NotIdentical;break;case"<":n=Pl.Lower;break;case">":n=Pl.Bigger;break;case"<=":n=Pl.LowerEquals;break;case">=":n=Pl.BiggerEquals;break;default:throw new Error("Unsupported operation "+t.operation)}return ar(e,new Xl(n,this._visit(t.left,Ph.Expression),this._visit(t.right,Ph.Expression)))},t.prototype.visitChain=function(t,e){return or(e,t),this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return ar(e,this._visit(t.condition,Ph.Expression).conditional(this._visit(t.trueExp,Ph.Expression),this._visit(t.falseExp,Ph.Expression)))},t.prototype.visitPipe=function(t,e){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+t.name)},t.prototype.visitFunctionCall=function(t,e){var n,r=this.visitAll(t.args,Ph.Expression);return n=t instanceof Ih?t.converter(r):this._visit(t.target,Ph.Expression).callFn(r),ar(e,n)},t.prototype.visitImplicitReceiver=function(t,e){return sr(e,t),this._implicitReceiver},t.prototype.visitInterpolation=function(t,e){sr(e,t);for(var n=[Dn(t.expressions.length)],r=0;r0?kl:Tn(e.importExpr(this.component.type.reference))}return Object.defineProperty(t.prototype,"viewName",{get:function(){return x(this.component.type.reference,this.embeddedViewIndex)},enumerable:!0,configurable:!0}),t.prototype.visitAll=function(t,e){var n=this;if(this.variables=t,this.parent||this.usedPipes.forEach(function(t){t.pure&&(n.purePipeNodeIndices[t.name]=n._createPipe(null,t))}),!this.parent){var i=gr(this.staticQueryIds);this.component.viewQueries.forEach(function(t,e){var r=e+1,o=t.first?0:1,s=134217728|wr(i,r,t.first);n.nodes.push(function(){return{sourceSpan:null,nodeFlags:s,nodeDef:Mn(Fu.queryDef).callFn([Dn(s),Dn(r),new rp([new np(t.propertyName,Dn(o),!1)])])}})})}r(this,e),this.parent&&(0===e.length||hr(e))&&this.nodes.push(function(){return{sourceSpan:null,nodeFlags:1,nodeDef:Mn(Fu.anchorDef).callFn([Dn(0),op,op,Dn(0)])}})},t.prototype.build=function(t){void 0===t&&(t=[]),this.children.forEach(function(e){return e.build(t)});var e=this._createNodeExpressions(),n=e.updateRendererStmts,r=e.updateDirectivesStmts,i=e.nodeDefExprs,o=this._createUpdateFn(n),s=this._createUpdateFn(r),a=0;this.parent||this.component.changeDetection!==ti.ChangeDetectionStrategy.OnPush||(a|=2);var u=new lp(this.viewName,[new Kl(Uh.name)],[new hp(Mn(Fu.viewDef).callFn([Dn(a),xn(i),s,o]))],Sn(Fu.ViewDefinition),0===this.embeddedViewIndex?[ap.Exported]:[]);return t.push(u),t},t.prototype._createUpdateFn=function(t){var e;if(t.length>0){var n=[];!this.component.isHost&&vn(t).has(Bh.name)&&n.push(Bh.set(Wh.prop("component")).toDeclStmt(this.compType)),e=kn([new Kl(zh.name,Dl),new Kl(Wh.name,Dl)],n.concat(t),Dl)}else e=op;return e},t.prototype.visitNgContent=function(t,e){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:8,nodeDef:Mn(Fu.ngContentDef).callFn([Dn(t.ngContentIndex),Dn(t.index)])}})},t.prototype.visitText=function(t,e){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:2,nodeDef:Mn(Fu.textDef).callFn([Dn(-1),Dn(t.ngContentIndex),xn([Dn(t.value)])])}})},t.prototype.visitBoundText=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=t.value,o=i.ast,s=o.expressions.map(function(e,i){return n._preprocessUpdateExpression({nodeIndex:r,bindingIndex:i,sourceSpan:t.sourceSpan,context:Bh,value:e})}),a=r;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:2,nodeDef:Mn(Fu.textDef).callFn([Dn(a),Dn(t.ngContentIndex),xn(o.strings.map(function(t){return Dn(t)}))]),updateRenderer:s}}},t.prototype.visitEmbeddedTemplate=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=this._visitElementOrTemplate(r,t),o=i.flags,s=i.queryMatchesExpr,a=i.hostEvents,u=this.viewBuilderFactory(this);this.children.push(u),u.visitAll(t.variables,t.children);var c=this.nodes.length-r-1;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:1|o,nodeDef:Mn(Fu.anchorDef).callFn([Dn(o),s,Dn(t.ngContentIndex),Dn(c),n._createElementHandleEventFn(r,a),wn(u.viewName)])}}},t.prototype.visitElement=function(t,e){var n=this,i=this.nodes.length;this.nodes.push(null);var s=o(t.name)?null:t.name,a=this._visitElementOrTemplate(i,t),u=a.flags,c=a.usedEvents,l=a.queryMatchesExpr,p=a.hostBindings,h=a.hostEvents,f=[],d=[],m=[];if(s){var y=t.inputs.map(function(t){return{context:Bh,inputAst:t,dirAst:null}}).concat(p);y.length&&(d=y.map(function(t,e){return n._preprocessUpdateExpression({context:t.context,nodeIndex:i,bindingIndex:e,sourceSpan:t.inputAst.sourceSpan,value:t.inputAst.value})}),f=y.map(function(t){return fr(t.inputAst,t.dirAst)})),m=c.map(function(t){var e=t[0],n=t[1];return xn([Dn(e),Dn(n)])})}r(this,t.children);var _=this.nodes.length-i-1,v=t.directives.find(function(t){return t.directive.isComponent}),g=op,b=op;v&&(b=this.outputCtx.importExpr(v.directive.componentViewType),g=this.outputCtx.importExpr(v.directive.rendererType));var w=i;this.nodes[i]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:1|u,nodeDef:Mn(Fu.elementDef).callFn([Dn(w),Dn(u),l,Dn(t.ngContentIndex),Dn(_),Dn(s),s?dr(t):op,f.length?xn(f):op,m.length?xn(m):op,n._createElementHandleEventFn(i,h),b,g]),updateRenderer:d}}},t.prototype._visitElementOrTemplate=function(t,e){var r=this,i=0;e.hasViewContainer&&(i|=16777216);var o=new Map;e.outputs.forEach(function(t){var e=br(t,null),r=e.name,i=e.target;o.set(n.i(ti["ɵelementEventFullName"])(i,r),[i,r])}),e.directives.forEach(function(t){t.hostEvents.forEach(function(e){var r=br(e,t),i=r.name,s=r.target;o.set(n.i(ti["ɵelementEventFullName"])(s,i),[s,i])})});var s=[],a=[];this._visitComponentFactoryResolverProvider(e.directives),e.providers.forEach(function(n,i){var u=void 0,c=void 0;if(e.directives.forEach(function(t,e){t.directive.type.reference===D(n.token)&&(u=t,c=e)}),u){var l=r._visitDirective(n,u,c,t,e.references,e.queryMatches,o,r.staticQueryIds.get(e)),p=l.hostBindings,h=l.hostEvents;s.push.apply(s,p),a.push.apply(a,h)}else r._visitProvider(n,e.queryMatches)});var u=[];return e.queryMatches.forEach(function(t){var e=void 0;D(t.value)===r.reflector.resolveExternalReference(Fu.ElementRef)?e=0:D(t.value)===r.reflector.resolveExternalReference(Fu.ViewContainerRef)?e=3:D(t.value)===r.reflector.resolveExternalReference(Fu.TemplateRef)&&(e=2),null!=e&&u.push(xn([Dn(t.queryId),Dn(e)]))}),e.references.forEach(function(e){var n=void 0;e.value?D(e.value)===r.reflector.resolveExternalReference(Fu.TemplateRef)&&(n=2):n=1,null!=n&&(r.refNodeIndices[e.name]=t,u.push(xn([Dn(e.name),Dn(n)])))}),e.outputs.forEach(function(t){a.push({context:Bh,eventAst:t,dirAst:null})}),{flags:i,usedEvents:Array.from(o.values()),queryMatchesExpr:u.length?xn(u):op,hostBindings:s,hostEvents:a}},t.prototype._visitDirective=function(t,e,n,r,i,o,s,a){var u=this,c=this.nodes.length;this.nodes.push(null),e.directive.queries.forEach(function(t,n){var r=e.contentQueryStartId+n,i=67108864|wr(a,r,t.first),o=t.first?0:1;u.nodes.push(function(){return{sourceSpan:e.sourceSpan,nodeFlags:i,nodeDef:Mn(Fu.queryDef).callFn([Dn(i),Dn(r),new rp([new np(t.propertyName,Dn(o),!1)])])}})});var l=this.nodes.length-c-1,p=this._visitProviderOrDirective(t,o),h=p.flags,f=p.queryMatchExprs,d=p.providerExpr,m=p.depsExpr;i.forEach(function(e){e.value&&D(e.value)===D(t.token)&&(u.refNodeIndices[e.name]=c,f.push(xn([Dn(e.name),Dn(4)])))}),e.directive.isComponent&&(h|=32768);var y=e.inputs.map(function(t,e){var n=xn([Dn(e),Dn(t.directiveName)]);return new np(t.directiveName,n,!1)}),_=[],v=e.directive;Object.keys(v.outputs).forEach(function(t){var e=v.outputs[t];s.has(e)&&_.push(new np(t,Dn(e),!1))});var g=[];(e.inputs.length||(327680&h)>0)&&(g=e.inputs.map(function(t,e){return u._preprocessUpdateExpression({nodeIndex:c,bindingIndex:e,sourceSpan:t.sourceSpan,context:Bh,value:t.value})}));var b=Mn(Fu.nodeValue).callFn([Wh,Dn(c)]),w=e.hostProperties.map(function(t){return{context:b,dirAst:e,inputAst:t}}),M=e.hostEvents.map(function(t){return{context:b,eventAst:t,dirAst:e}}),S=c;return this.nodes[c]=function(){return{sourceSpan:e.sourceSpan,nodeFlags:16384|h,nodeDef:Mn(Fu.directiveDef).callFn([Dn(S),Dn(h),f.length?xn(f):op,Dn(l),d,m,y.length?new rp(y):op,_.length?new rp(_):op]),updateDirectives:g,directive:e.directive.type}},{hostBindings:w,hostEvents:M}},t.prototype._visitProvider=function(t,e){this._addProviderNode(this._visitProviderOrDirective(t,e))},t.prototype._visitComponentFactoryResolverProvider=function(t){var e=t.find(function(t){return t.directive.isComponent});if(e&&e.directive.entryComponents.length){var n=jn(this.reflector,this.outputCtx,8192,e.directive.entryComponents),r=n.providerExpr,i=n.depsExpr,o=n.flags,s=n.tokenExpr;this._addProviderNode({providerExpr:r,depsExpr:i,flags:o,tokenExpr:s,queryMatchExprs:[],sourceSpan:e.sourceSpan})}},t.prototype._addProviderNode=function(t){this.nodes.length;this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:t.flags,nodeDef:Mn(Fu.providerDef).callFn([Dn(t.flags),t.queryMatchExprs.length?xn(t.queryMatchExprs):op,t.tokenExpr,t.providerExpr,t.depsExpr])}})},t.prototype._visitProviderOrDirective=function(t,e){var n=0,r=[];e.forEach(function(e){D(e.value)===D(t.token)&&r.push(xn([Dn(e.queryId),Dn(4)]))});var i=Pn(this.outputCtx,t),o=i.providerExpr,s=i.depsExpr,a=i.flags,u=i.tokenExpr;return{flags:n|a,queryMatchExprs:r,providerExpr:o,depsExpr:s,tokenExpr:u,sourceSpan:t.sourceSpan}},t.prototype.getLocal=function(t){if(t==kh.event.name)return kh.event;for(var e=Wh,n=this;n;n=n.parent,e=e.prop("parent").cast(kl)){var r=n.refNodeIndices[t];if(null!=r)return Mn(Fu.nodeValue).callFn([e,Dn(r)]);var i=n.variables.find(function(e){return e.name===t});if(i){var o=i.value||Hh;return e.prop("context").prop(o)}}return null},t.prototype._createLiteralArrayConverter=function(t,e){if(0===e){var n=Mn(Fu.EMPTY_ARRAY);return function(){return n}}var r=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:32,nodeDef:Mn(Fu.pureArrayDef).callFn([Dn(r),Dn(e)])}}),function(t){return yr(r,t)}},t.prototype._createLiteralMapConverter=function(t,e){if(0===e.length){var n=Mn(Fu.EMPTY_MAP);return function(){return n}}var r=En(e.map(function(t,e){return Object.assign({},t,{value:Dn(e)})})),i=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:64,nodeDef:Mn(Fu.pureObjectDef).callFn([Dn(i),r])}}),function(t){return yr(i,t)}},t.prototype._createPipeConverter=function(t,e,n){var r=this.usedPipes.find(function(t){return t.name===e});if(r.pure){var i=this.nodes.length;this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:128,nodeDef:Mn(Fu.purePipeDef).callFn([Dn(i),Dn(n)])}});for(var o=Wh,s=this;s.parent;)s=s.parent,o=o.prop("parent").cast(kl);var a=s.purePipeNodeIndices[e],u=Mn(Fu.nodeValue).callFn([o,Dn(a)]);return function(e){return _r(t.nodeIndex,t.bindingIndex,yr(i,[u].concat(e)))}}var c=this._createPipe(t.sourceSpan,r),l=Mn(Fu.nodeValue).callFn([Wh,Dn(c)]);return function(e){return _r(t.nodeIndex,t.bindingIndex,l.callMethod("transform",e))}},t.prototype._createPipe=function(t,e){var n=this,r=this.nodes.length,i=0;e.type.lifecycleHooks.forEach(function(t){t===fl.OnDestroy&&(i|=Rn(t))});var o=e.type.diDeps.map(function(t){return In(n.outputCtx,t)});return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:16,nodeDef:Mn(Fu.pipeDef).callFn([Dn(i),n.outputCtx.importExpr(e.type.reference),xn(o)])}}),r},t.prototype._preprocessUpdateExpression=function(t){var e=this;return{nodeIndex:t.nodeIndex,bindingIndex:t.bindingIndex,sourceSpan:t.sourceSpan,context:t.context,value:$n({createLiteralArrayConverter:function(n){return e._createLiteralArrayConverter(t.sourceSpan,n)},createLiteralMapConverter:function(n){return e._createLiteralMapConverter(t.sourceSpan,n)},createPipeConverter:function(n,r){return e._createPipeConverter(t,n,r)}},t.value)}},t.prototype._createNodeExpressions=function(){function t(t,r,i,o){var s=[],a=i.map(function(t){var r=t.sourceSpan,i=t.context,o=t.value,a=""+n++,u=i===Bh?e:null,c=tr(u,i,o,a),l=c.stmts,p=c.currValExpr;return s.push.apply(s,l.map(function(t){return gn(t,r)})),bn(p,r)});return(i.length||o)&&s.push(gn(yr(t,a).toStmt(),r)),s}var e=this,n=0,r=[],i=[],o=this.nodes.map(function(e,n){var o=e(),s=o.nodeDef,a=o.nodeFlags,u=o.updateDirectives,c=o.updateRenderer,l=o.sourceSpan;return c&&r.push.apply(r,t(n,l,c,!1)),u&&i.push.apply(i,t(n,l,u,(327680&a)>0)),bn(3&a?new ip([Uh.callFn([]).callFn([]),s]):s,l)});return{updateRendererStmts:r,updateDirectivesStmts:i,nodeDefExprs:o}},t.prototype._createElementHandleEventFn=function(t,e){var r=this,i=[],o=0;e.forEach(function(t){var e=t.context,s=t.eventAst,a=t.dirAst,u=""+o++,c=e===Bh?r:null,l=Xn(c,e,s.handler,u),p=l.stmts,h=l.allowDefault,f=p;h&&f.push(Jh.set(h.and(Jh)).toStmt());var d=br(s,a),m=d.target,y=d.name,_=n.i(ti["ɵelementEventFullName"])(m,y);i.push(gn(new _p(Dn(_).identical(qh),f),s.sourceSpan))});var s;if(i.length>0){var a=[Jh.set(Dn(!0)).toDeclStmt(Ol)];!this.component.isHost&&vn(i).has(Bh.name)&&a.push(Bh.set(Wh.prop("component")).toDeclStmt(this.compType)),s=kn([new Kl(Wh.name,Dl),new Kl(qh.name,Dl),new Kl(kh.event.name,Dl)],a.concat(i,[new hp(Jh)]),Dl)}else s=op;return s},t.prototype.visitDirective=function(t,e){},t.prototype.visitDirectiveProperty=function(t,e){},t.prototype.visitReference=function(t,e){},t.prototype.visitVariable=function(t,e){},t.prototype.visitEvent=function(t,e){},t.prototype.visitElementProperty=function(t,e){},t.prototype.visitAttr=function(t,e){},t}(),Qh=function(){function t(t,e,n){this.srcFileUrl=t,this.genFileUrl=e,"string"==typeof n?(this.source=n,this.stmts=null):(this.source=null,this.stmts=n)}return t}(),Kh=function(t){function e(e,n){var r=t.call(this)||this;return r.symbolResolver=e,r.summaryResolver=n,r.symbols=[],r.indexBySymbol=new Map,r.processedSummaryBySymbol=new Map,r.processedSummaries=[],r}return $r.a(e,t),e.prototype.addOrMergeSummary=function(t){var e=t.metadata;if(e&&"class"===e.__symbolic){var n={};Object.keys(e).forEach(function(t){"decorators"!==t&&(n[t]=e[t])}),e=n}var r=this.processedSummaryBySymbol.get(t.symbol);r||(r=this.processValue({symbol:t.symbol}),this.processedSummaries.push(r),this.processedSummaryBySymbol.set(t.symbol,r)),null==r.metadata&&null!=e&&(r.metadata=this.processValue(e)),null==r.type&&null!=t.type&&(r.type=this.processValue(t.type))},e.prototype.serialize=function(){var t=this,e=[];return{json:JSON.stringify({summaries:this.processedSummaries,symbols:this.symbols.map(function(n,r){n.assertNoMembers();var i=void 0;return t.summaryResolver.isLibraryFile(n.filePath)&&(i=n.name+"_"+r,e.push({symbol:n,exportAs:i})),{__symbol:r,name:n.name,filePath:t.summaryResolver.getLibraryFileName(n.filePath),importAs:i}})}),exportAs:e}},e.prototype.processValue=function(t){return m(t,this,null)},e.prototype.visitOther=function(t,e){if(t instanceof _i){var n=this.symbolResolver.getStaticSymbol(t.filePath,t.name),r=this.indexBySymbol.get(n);return null==r&&(r=this.indexBySymbol.size,this.indexBySymbol.set(n,r),this.symbols.push(n)),{__symbol:r,members:t.members}}},e}(Pi),Zh=function(){function t(t,e){this.outputCtx=t,this.symbolResolver=e,this.data=new Map}return t.prototype.addSourceType=function(t,e){this.data.set(t.type.reference,{summary:t,metadata:e,isLibrary:!1})},t.prototype.addLibType=function(t){this.data.set(t.type.reference,{summary:t,metadata:null,isLibrary:!0})},t.prototype.serialize=function(t){var e=this,n=new Set;Array.from(this.data.values()).forEach(function(t){var r=t.summary,i=t.metadata,o=t.isLibrary;if(r.summaryKind===Hi.NgModule){n.add(r.type.reference);r.modules.forEach(function(t){n.add(t.reference)})}if(!o){rn(r.type.reference.name);xr(e.outputCtx,r.type.reference,e.serializeSummaryWithDeps(r,i))}}),t.forEach(function(t){var r=t.symbol;if(n.has(r)){var i=rn(t.exportAs);e.outputCtx.statements.push(wn(i).set(e.serializeSummaryRef(r)).toDeclStmt(null,[ap.Exported]))}})},t.prototype.serializeSummaryWithDeps=function(t,e){var n=this,r=[this.serializeSummary(t)],i=[];if(e instanceof zi)r.push.apply(r,e.declaredDirectives.concat(e.declaredPipes).map(function(t){return t.reference}).concat(e.transitiveModule.modules.map(function(t){return t.reference}).filter(function(t){return t!==e.type.reference})).map(function(t){return n.serializeSummaryRef(t)})),i=e.providers;else if(t.summaryKind===Hi.Directive){var o=t;i=o.providers.concat(o.viewProviders)}return r.push.apply(r,i.filter(function(t){return!!t.useClass}).map(function(t){return n.serializeSummary({summaryKind:Hi.Injectable,type:t.useClass})})),xn(r)},t.prototype.serializeSummaryRef=function(t){var e=this.symbolResolver.getStaticSymbol(en(t.filePath),rn(t.name));return this.outputCtx.importExpr(e)},t.prototype.serializeSummary=function(t){var e=this.outputCtx;return m(t,new(function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return xn(t.map(function(t){return m(t,n,e)}))},t.prototype.visitStringMap=function(t,e){var n=this;return new rp(Object.keys(t).map(function(r){return new np(r,m(t[r],n,e),!1)}))},t.prototype.visitPrimitive=function(t,e){return Dn(t)},t.prototype.visitOther=function(t,n){if(t instanceof _i)return e.importExpr(t);throw new Error("Illegal State: Encountered value "+t)},t}()),null)},t}(),Xh=function(t){function e(e){var n=t.call(this)||this;return n.symbolCache=e,n}return $r.a(e,t),e.prototype.deserialize=function(t){var e=this,n=JSON.parse(t),r=[];return this.symbols=[],n.symbols.forEach(function(t){var n=e.symbolCache.get(t.filePath,t.name);e.symbols.push(n),t.importAs&&r.push({symbol:n,importAs:t.importAs})}),{summaries:m(n.summaries,this,null),importAs:r}},e.prototype.visitStringMap=function(e,n){if("__symbol"in e){var r=this.symbols[e.__symbol],i=e.members;return i.length?this.symbolCache.get(r.filePath,r.name,i):r}return t.prototype.visitStringMap.call(this,e,n)},e}(Pi),$h=(function(){function t(t,e,n,r,i,o,s,a,u,c,l,p,h,f){this._config=t,this._host=e,this._reflector=n,this._metadataResolver=r,this._templateParser=i,this._styleCompiler=o,this._viewCompiler=s,this._ngModuleCompiler=a,this._outputEmitter=u,this._summaryResolver=c,this._localeId=l,this._translationFormat=p,this._enableSummariesForJit=h,this._symbolResolver=f}t.prototype.clearCache=function(){this._metadataResolver.clearCache()},t.prototype.analyzeModulesSync=function(t){var e=this,n=Pr(this._symbolResolver,t,this._host),r=Dr(n,this._host,this._metadataResolver);return r.ngModules.forEach(function(t){return e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!0)}),r},t.prototype.analyzeModulesAsync=function(t){var e=this,n=Pr(this._symbolResolver,t,this._host),r=Dr(n,this._host,this._metadataResolver);return Promise.all(r.ngModules.map(function(t){return e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1)})).then(function(){return r})},t.prototype.emitAllStubs=function(t){var e=this;return A(t.files.map(function(t){return e._compileStubFile(t.srcUrl,t.directives,t.pipes,t.ngModules,!1)}))},t.prototype.emitPartialStubs=function(t){var e=this;return A(t.files.map(function(t){return e._compileStubFile(t.srcUrl,t.directives,t.pipes,t.ngModules,!0)}))},t.prototype.emitAllImpls=function(t){var e=this,n=t.ngModuleByPipeOrDirective;return A(t.files.map(function(t){return e._compileImplFile(t.srcUrl,n,t.directives,t.pipes,t.ngModules,t.injectables)}))},t.prototype._compileStubFile=function(t,e,n,r,i){var o=this,s=$e(t,!0)[1],a=[],u=this._createOutputContext(Ke(t,!0)),c=this._createOutputContext(en(t,!0));r.forEach(function(t){o._ngModuleCompiler.createStub(u,t),Tr(c,t)});var l=!1,p=!1;return e.forEach(function(t){var e=o._metadataResolver.getDirectiveMetadata(t);l=!0,e.isComponent&&(e.template.externalStylesheets.forEach(function(t){var n=o._createOutputContext(Lr(t.moduleUrl,o._styleCompiler.needsStyleShim(e),s));Er(n,Fu.ComponentFactory),a.push(o._codegenSourceModule(t.moduleUrl,n))}),p=!0)}),(p||!i)&&u.statements.length<=0&&Er(u,Fu.ComponentFactory),(l||!i||n&&n.length>0)&&c.statements.length<=0&&Er(c,Fu.ComponentFactory),a.push(this._codegenSourceModule(t,u)),this._enableSummariesForJit&&a.push(this._codegenSourceModule(t,c)),a},t.prototype._compileImplFile=function(t,e,n,r,i,o){var s=this,a=$e(t,!0)[1],u=[],c=this._createOutputContext(Ke(t,!0));if(u.push.apply(u,this._createSummary(t,n,r,i,o,c)),i.forEach(function(t){return s._compileModule(c,t)}),n.forEach(function(t){var n=s._metadataResolver.getDirectiveMetadata(t);if(n.isComponent){var r=e.get(t);if(!r)throw new Error("Internal Error: cannot determine the module for component "+S(n.type)+"!");var i=s._styleCompiler.compileComponent(c,n);n.template.externalStylesheets.forEach(function(t){u.push(s._codegenStyles(t.moduleUrl,n,t,a))});s._compileComponent(c,n,r,r.transitiveModule.directives,i,a);s._compileComponentFactory(c,n,r,a)}}),c.statements.length>0){var l=this._codegenSourceModule(t,c);u.unshift(l)}return u},t.prototype._createSummary=function(t,e,n,r,i,o){var s=this,a=this._symbolResolver.getSymbolsOf(t).map(function(t){return s._symbolResolver.resolveSymbol(t)}),u=r.map(function(t){return{summary:s._metadataResolver.getNgModuleSummary(t),metadata:s._metadataResolver.getNgModuleMetadata(t)}}).concat(e.map(function(t){return{summary:s._metadataResolver.getDirectiveSummary(t),metadata:s._metadataResolver.getDirectiveMetadata(t)}}),n.map(function(t){return{summary:s._metadataResolver.getPipeSummary(t),metadata:s._metadataResolver.getPipeMetadata(t)}}),i.map(function(t){return{summary:s._metadataResolver.getInjectableSummary(t),metadata:s._metadataResolver.getInjectableSummary(t).type}})),c=this._createOutputContext(en(t,!0)),l=Mr(c,this._summaryResolver,this._symbolResolver,a,u),p=l.json;l.exportAs.forEach(function(t){o.statements.push(wn(t.exportAs).set(o.importExpr(t.symbol)).toDeclStmt(null,[ap.Exported]))});var h=new Qh(t,tn(t),p);return this._enableSummariesForJit?[h,this._codegenSourceModule(t,c)]:[h]},t.prototype._compileModule=function(t,e){var n=this._metadataResolver.getNgModuleMetadata(e),r=[];if(this._localeId){var i=this._localeId.replace(/_/g,"-");r.push({token:fe(this._reflector,Fu.LOCALE_ID),useValue:i})}this._translationFormat&&r.push({token:fe(this._reflector,Fu.TRANSLATIONS_FORMAT),useValue:this._translationFormat}),this._ngModuleCompiler.compile(t,n,r)},t.prototype._compileComponentFactory=function(t,e,n,r){var i=this._metadataResolver.getHostComponentType(e.type.reference),o=O(i,e,this._metadataResolver.getHostComponentViewClass(i)),s=this._compileComponent(t,o,n,[e.type],null,r).viewClassVar,a=L(e.type.reference),u=[];for(var c in e.inputs){var l=e.inputs[c];u.push(new np(c,Dn(l),!1))}var p=[];for(var c in e.outputs){var l=e.outputs[c];p.push(new np(c,Dn(l),!1))}t.statements.push(wn(a).set(Mn(Fu.createComponentFactory).callFn([Dn(e.selector),t.importExpr(e.type.reference),wn(s),new rp(u),new rp(p),xn(e.template.ngContentSelectors.map(function(t){return Dn(t)}))])).toDeclStmt(Sn(Fu.ComponentFactory,[Tn(t.importExpr(e.type.reference))],[Ml.Const]),[ap.Final,ap.Exported]))},t.prototype._compileComponent=function(t,e,n,r,i,o){var s=this,a=r.map(function(t){return s._metadataResolver.getDirectiveSummary(t.reference)}),u=n.transitiveModule.pipes.map(function(t){return s._metadataResolver.getPipeSummary(t.reference)}),c=e.template.preserveWhitespaces,l=this._templateParser.parse(e,e.template.template,a,u,n.schemas,N(n.type,e,e.template),c),p=l.template,h=l.pipes,f=i?wn(i.stylesVar):xn([]),d=this._viewCompiler.compileComponent(t,e,p,f,h);return i&&Cr(this._symbolResolver,i,this._styleCompiler.needsStyleShim(e),o),d},t.prototype._createOutputContext=function(t){var e=this;return{statements:[],genFilePath:t,importExpr:function(n,r){if(void 0===r&&(r=null),!(n instanceof _i))throw new Error("Internal error: unknown identifier "+JSON.stringify(n));var i=e._symbolResolver.getTypeArity(n)||0,o=e._symbolResolver.getImportAs(n)||n,s=o.filePath,a=o.name,u=o.members,c=e._symbolResolver.fileNameToModuleName(s,t),l=e._symbolResolver.fileNameToModuleName(t,t),p=c===l?null:c,h=r||[],f=i-h.length,d=h.concat(new Array(f).fill(kl));return u.reduce(function(t,e){return t.prop(e)},Mn(new Bl(p,a,null),d))}}},t.prototype._codegenStyles=function(t,e,n,r){var i=this._createOutputContext(Lr(n.moduleUrl,this._styleCompiler.needsStyleShim(e),r)),o=this._styleCompiler.compileStyles(i,e,n);return Cr(this._symbolResolver,o,this._styleCompiler.needsStyleShim(e),r),this._codegenSourceModule(t,i)},t.prototype._codegenSourceModule=function(t,e){return new Qh(t,e.genFilePath,e.statements)}}(),"@angular/core"),tf="@angular/router",ef=/^\$.*\$$/,nf={__symbolic:"ignore"},rf="useValue",of="provide",sf=new Set([rf,"useFactory","data"]),af=function(){function t(t,e,n,r,i){void 0===n&&(n=[]),void 0===r&&(r=[]);var o=this;this.summaryResolver=t,this.symbolResolver=e,this.errorRecorder=i,this.annotationCache=new Map,this.propertyCache=new Map,this.parameterCache=new Map,this.methodCache=new Map,this.conversionMap=new Map,this.annotationForParentClassWithSummaryKind=new Map,this.annotationNames=new Map,this.initializeConversionMap(),n.forEach(function(t){return o._registerDecoratorOrConstructor(o.getStaticSymbol(t.filePath,t.name),t.ctor)}),r.forEach(function(t){return o._registerFunction(o.getStaticSymbol(t.filePath,t.name),t.fn)}),this.annotationForParentClassWithSummaryKind.set(Hi.Directive,[ti.Directive,ti.Component]),this.annotationForParentClassWithSummaryKind.set(Hi.Pipe,[ti.Pipe]),this.annotationForParentClassWithSummaryKind.set(Hi.NgModule,[ti.NgModule]),this.annotationForParentClassWithSummaryKind.set(Hi.Injectable,[ti.Injectable,ti.Pipe,ti.Directive,ti.Component,ti.NgModule]),this.annotationNames.set(ti.Directive,"Directive"),this.annotationNames.set(ti.Component,"Component"),this.annotationNames.set(ti.Pipe,"Pipe"),this.annotationNames.set(ti.NgModule,"NgModule"),this.annotationNames.set(ti.Injectable,"Injectable")}return t.prototype.componentModuleUrl=function(t){var e=this.findSymbolDeclaration(t);return this.symbolResolver.getResourcePath(e)},t.prototype.resolveExternalReference=function(t){var e=this.getStaticSymbol(t.moduleName,t.name),n=this.findDeclaration(t.moduleName,t.name);return e!=n&&this.symbolResolver.recordImportAs(n,e),n},t.prototype.findDeclaration=function(t,e,n){return this.findSymbolDeclaration(this.symbolResolver.getSymbolByModule(t,e,n))},t.prototype.tryFindDeclaration=function(t,e){var n=this;return this.symbolResolver.ignoreErrorsFor(function(){return n.findDeclaration(t,e)})},t.prototype.findSymbolDeclaration=function(t){var e=this.symbolResolver.resolveSymbol(t);return e&&e.metadata instanceof _i?this.findSymbolDeclaration(e.metadata):t},t.prototype.annotations=function(t){var e=this,n=this.annotationCache.get(t);if(!n){n=[];var r=this.getTypeMetadata(t),i=this.findParentType(t,r);if(i){var o=this.annotations(i);n.push.apply(n,o)}var s=[];if(r.decorators&&(s=this.simplify(t,r.decorators),n.push.apply(n,s)),i&&!this.summaryResolver.isLibraryFile(t.filePath)&&this.summaryResolver.isLibraryFile(i.filePath)){var a=this.summaryResolver.resolveSummary(i);if(a&&a.type){var u=this.annotationForParentClassWithSummaryKind.get(a.type.summaryKind);u.some(function(t){return s.some(function(e){return e instanceof t})})||this.reportError(v("Class "+t.name+" in "+t.filePath+" extends from a "+Hi[a.type.summaryKind]+" in another compilation unit without duplicating the decorator. Please add a "+u.map(function(t){return e.annotationNames.get(t)}).join(" or ")+" decorator to the class."),t)}}this.annotationCache.set(t,n.filter(function(t){return!!t}))}return n},t.prototype.propMetadata=function(t){var e=this,n=this.propertyCache.get(t);if(!n){var r=this.getTypeMetadata(t);n={};var i=this.findParentType(t,r);if(i){var o=this.propMetadata(i);Object.keys(o).forEach(function(t){n[t]=o[t]})}var s=r.members||{};Object.keys(s).forEach(function(r){var i=s[r],o=i.find(function(t){return"property"==t.__symbolic||"method"==t.__symbolic}),a=[];n[r]&&a.push.apply(a,n[r]),n[r]=a,o&&o.decorators&&a.push.apply(a,e.simplify(t,o.decorators))}),this.propertyCache.set(t,n)}return n},t.prototype.parameters=function(t){var e=this;if(!(t instanceof _i))return this.reportError(new Error("parameters received "+JSON.stringify(t)+" which is not a StaticSymbol"),t),[];try{var n=this.parameterCache.get(t);if(!n){var r=this.getTypeMetadata(t),i=this.findParentType(t,r),o=r?r.members:null,s=o?o.__ctor__:null;if(s){var a=s.find(function(t){return"constructor"==t.__symbolic}),u=a.parameters||[],c=this.simplify(t,a.parameterDecorators||[]);n=[],u.forEach(function(r,i){var o=[],s=e.trySimplify(t,r);s&&o.push(s);var a=c?c[i]:null;a&&o.push.apply(o,a),n.push(o)})}else i&&(n=this.parameters(i));n||(n=[]),this.parameterCache.set(t,n)}return n}catch(e){throw console.error("Failed on type "+JSON.stringify(t)+" with error "+e),e}},t.prototype._methodNames=function(t){var e=this.methodCache.get(t);if(!e){var n=this.getTypeMetadata(t);e={};var r=this.findParentType(t,n);if(r){var i=this._methodNames(r);Object.keys(i).forEach(function(t){e[t]=i[t]})}var o=n.members||{};Object.keys(o).forEach(function(t){var n=o[t],r=n.some(function(t){return"method"==t.__symbolic});e[t]=e[t]||r}),this.methodCache.set(t,e)}return e},t.prototype.findParentType=function(t,e){var n=this.trySimplify(t,e.extends);if(n instanceof _i)return n},t.prototype.hasLifecycleHook=function(t,e){t instanceof _i||this.reportError(new Error("hasLifecycleHook received "+JSON.stringify(t)+" which is not a StaticSymbol"),t);try{return!!this._methodNames(t)[e]}catch(e){throw console.error("Failed on type "+JSON.stringify(t)+" with error "+e),e}},t.prototype._registerDecoratorOrConstructor=function(t,e){this.conversionMap.set(t,function(t,n){return new(e.bind.apply(e,[void 0].concat(n)))})},t.prototype._registerFunction=function(t,e){this.conversionMap.set(t,function(t,n){return e.apply(void 0,n)})},t.prototype.initializeConversionMap=function(){this.injectionToken=this.findDeclaration($h,"InjectionToken"),this.opaqueToken=this.findDeclaration($h,"OpaqueToken"),this.ROUTES=this.tryFindDeclaration(tf,"ROUTES"),this.ANALYZE_FOR_ENTRY_COMPONENTS=this.findDeclaration($h,"ANALYZE_FOR_ENTRY_COMPONENTS"),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Host"),ti.Host),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Injectable"),ti.Injectable),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Self"),ti.Self),this._registerDecoratorOrConstructor(this.findDeclaration($h,"SkipSelf"),ti.SkipSelf),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Inject"),ti.Inject),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Optional"),ti.Optional),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Attribute"),ti.Attribute),this._registerDecoratorOrConstructor(this.findDeclaration($h,"ContentChild"),ti.ContentChild),this._registerDecoratorOrConstructor(this.findDeclaration($h,"ContentChildren"),ti.ContentChildren),this._registerDecoratorOrConstructor(this.findDeclaration($h,"ViewChild"),ti.ViewChild),this._registerDecoratorOrConstructor(this.findDeclaration($h,"ViewChildren"),ti.ViewChildren),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Input"),ti.Input),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Output"),ti.Output),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Pipe"),ti.Pipe),this._registerDecoratorOrConstructor(this.findDeclaration($h,"HostBinding"),ti.HostBinding),this._registerDecoratorOrConstructor(this.findDeclaration($h,"HostListener"),ti.HostListener),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Directive"),ti.Directive),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Component"),ti.Component),this._registerDecoratorOrConstructor(this.findDeclaration($h,"NgModule"),ti.NgModule),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Host"),ti.Host),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Self"),ti.Self),this._registerDecoratorOrConstructor(this.findDeclaration($h,"SkipSelf"),ti.SkipSelf),this._registerDecoratorOrConstructor(this.findDeclaration($h,"Optional"),ti.Optional),this._registerFunction(this.findDeclaration($h,"trigger"),ti.trigger),this._registerFunction(this.findDeclaration($h,"state"),ti.state),this._registerFunction(this.findDeclaration($h,"transition"),ti.transition),this._registerFunction(this.findDeclaration($h,"style"),ti.style),this._registerFunction(this.findDeclaration($h,"animate"),ti.animate),this._registerFunction(this.findDeclaration($h,"keyframes"),ti.keyframes),this._registerFunction(this.findDeclaration($h,"sequence"),ti.sequence),this._registerFunction(this.findDeclaration($h,"group"),ti.group)},t.prototype.getStaticSymbol=function(t,e,n){return this.symbolResolver.getStaticSymbol(t,e,n)},t.prototype.reportError=function(t,e,n){if(!this.errorRecorder)throw t;this.errorRecorder(t,e&&e.filePath||n)},t.prototype.trySimplify=function(t,e){var n=this.errorRecorder;this.errorRecorder=function(t,e){};var r=this.simplify(t,e);return this.errorRecorder=n,r},t.prototype.simplify=function(t,e){function n(t,e,r,a){function u(t){var e=i.symbolResolver.resolveSymbol(t);return e?e.metadata:null}function c(e,i,u){if(i&&"function"==i.__symbolic){if(s.get(e))throw new Error("Recursion not supported");s.set(e,!0);try{var c=i.value;if(c&&(0!=r||"error"!=c.__symbolic)){var p=i.parameters,h=i.defaults;u=u.map(function(e){return n(t,e,r+1,a)}).map(function(t){return Yr(t)?void 0:t}),h&&h.length>u.length&&u.push.apply(u,h.slice(u.length).map(function(t){return l(t)}));for(var f=uf.build(),d=0;d0&&!e.members.length)return e;var g=e,b=u(g);return null!=b?n(g,b,r+1,a):g}if(e){if(e.__symbolic){var g=void 0;switch(e.__symbolic){case"binop":var w=l(e.left);if(Yr(w))return w;var M=l(e.right);if(Yr(M))return M;switch(e.operator){case"&&":return w&&M;case"||":return w||M;case"|":return w|M;case"^":return w^M;case"&":return w&M;case"==":return w==M;case"!=":return w!=M;case"===":return w===M;case"!==":return w!==M;case"<":return w":return w>M;case"<=":return w<=M;case">=":return w>=M;case"<<":return w<>":return w>>M;case"+":return w+M;case"-":return w-M;case"*":return w*M;case"/":return w/M;case"%":return w%M}return null;case"if":return l(l(e.condition)?e.thenExpression:e.elseExpression);case"pre":var S=l(e.operand);if(Yr(S))return S;switch(e.operator){case"+":return S;case"-":return-S;case"!":return!S;case"~":return~S}return null;case"index":var T=n(t,e.expression,r,0),x=n(t,e.index,r,0);return T&&jr(x)?T[x]:null;case"select":var E=e.member,C=t,L=l(e.expression);if(L instanceof _i){var k=L.members.concat(E);C=i.getStaticSymbol(L.filePath,L.name,k);var b=u(C);return null!=b?n(C,b,r+1,a):C}return L&&jr(E)?n(C,L[E],r+1,a):null;case"reference":var D=e.name,O=o.resolve(D);if(O!=uf.missing)return O;break;case"class":case"function":return t;case"new":case"call":if((g=n(t,e.expression,r+1,0))instanceof _i){if(g===i.injectionToken||g===i.opaqueToken)return t;var P=e.arguments||[],A=i.conversionMap.get(g);if(A){var Y=P.map(function(e){return n(t,e,r+1,a)}).map(function(t){return Yr(t)?void 0:t});return A(t,Y)}return c(g,u(g),P)}return nf;case"error":var N=Ir(e);return e.line?(N=N+" (position "+(e.line+1)+":"+(e.character+1)+" in the original .ts file)",i.reportError(Hr(N,t.filePath,e.line,e.character),t)):i.reportError(new Error(N),t),nf;case"ignore":return e}return null}return Rr(e,function(o,s){if(sf.has(s)){if(s===rf&&of in e){var u=l(e.provide);if(u===i.ROUTES||u==i.ANALYZE_FOR_ENTRY_COMPONENTS)return l(o)}return n(t,o,r,a+1)}return l(o)})}return nf}try{return l(e)}catch(e){var p=t.members.length?"."+t.members.join("."):"",h=e.message+", resolving symbol "+t.name+p+" in "+t.filePath;if(e.fileName)throw Hr(h,e.fileName,e.line,e.column);throw v(h)}}var r=this,i=this,o=uf.empty,s=new Map,a=function(t,e){try{return n(t,e,0,0)}catch(e){r.reportError(e,t)}},u=this.errorRecorder?a(t,e):n(t,e,0,0);if(!Yr(u))return u},t.prototype.getTypeMetadata=function(t){var e=this.symbolResolver.resolveSymbol(t);return e&&e.metadata?e.metadata:{__symbolic:"class"}},t}(),uf=function(){function t(){}return t.prototype.resolve=function(t){},t.build=function(){var e=new Map;return{define:function(t,n){return e.set(t,n),this},done:function(){return e.size>0?new cf(e):t.empty}}},t}();uf.missing={},uf.empty={resolve:function(t){return uf.missing}};var cf=function(t){function e(e){var n=t.call(this)||this;return n.bindings=e,n}return $r.a(e,t),e.prototype.resolve=function(t){return this.bindings.has(t)?this.bindings.get(t):uf.missing},e}(uf),lf=function(){function t(t,e){this.symbol=t,this.metadata=e}return t}(),pf=3,hf=function(){function t(t,e,n,r){this.host=t,this.staticSymbolCache=e,this.summaryResolver=n,this.errorRecorder=r,this.metadataCache=new Map,this.resolvedSymbols=new Map,this.resolvedFilePaths=new Set,this.importAs=new Map,this.symbolResourcePaths=new Map,this.symbolFromFile=new Map,this.knownFileNameToModuleNames=new Map}return t.prototype.resolveSymbol=function(t){if(t.members.length>0)return this._resolveSymbolMembers(t);var e=this.resolvedSymbols.get(t);return e||((e=this._resolveSymbolFromSummary(t))?e:(this._createSymbolsOf(t.filePath),e=this.resolvedSymbols.get(t)))},t.prototype.getImportAs=function(t){if(t.members.length){var e=this.getStaticSymbol(t.filePath,t.name),n=this.getImportAs(e);return n?this.getStaticSymbol(n.filePath,n.name,t.members):null}var r=nn(t.filePath);if(r!==t.filePath){var i=on(t.name),e=this.getStaticSymbol(r,i,t.members),n=this.getImportAs(e);return n?this.getStaticSymbol(en(n.filePath),rn(n.name),e.members):null}var o=this.summaryResolver.getImportAs(t);return o||(o=this.importAs.get(t)),o},t.prototype.getResourcePath=function(t){return this.symbolResourcePaths.get(t)||t.filePath},t.prototype.getTypeArity=function(t){if(Xe(t.filePath))return null;for(var e=this.resolveSymbol(t);e&&e.metadata instanceof _i;)e=this.resolveSymbol(e.metadata);return e&&e.metadata&&e.metadata.arity||null},t.prototype.fileNameToModuleName=function(t,e){return this.knownFileNameToModuleNames.get(t)||this.host.fileNameToModuleName(t,e)},t.prototype.recordImportAs=function(t,e){t.assertNoMembers(),e.assertNoMembers(),this.importAs.set(t,e)},t.prototype.invalidateFile=function(t){this.metadataCache.delete(t),this.resolvedFilePaths.delete(t);var e=this.symbolFromFile.get(t);if(e){this.symbolFromFile.delete(t);for(var n=0,r=e;n=0?{__symbolic:"reference",name:p}:n.has(p)?o.getStaticSymbol(e,p):void 0},i}(Pi),a=m(r,new s,[]);return a instanceof _i?this.createExport(t,a):new lf(t,a)},t.prototype.createExport=function(t,e){return t.assertNoMembers(),e.assertNoMembers(),this.summaryResolver.isLibraryFile(t.filePath)&&this.importAs.set(e,this.getImportAs(t)||t),new lf(t,e)},t.prototype.reportError=function(t,e,n){if(!this.errorRecorder)throw t;this.errorRecorder(t,e&&e.filePath||n)},t.prototype.getModuleMetadata=function(t){var e=this.metadataCache.get(t);if(!e){var n=this.host.getMetadataFor(t);if(n){var r=-1;n.forEach(function(t){t.version>r&&(r=t.version,e=t)})}if(e||(e={__symbolic:"module",version:pf,module:t,metadata:{}}),e.version!=pf){var i=2==e.version?"Unsupported metadata version "+e.version+" for module "+t+". This module should be compiled with a newer version of ngc":"Metadata version mismatch for module "+t+", found version "+e.version+", expected "+pf;this.reportError(new Error(i))}this.metadataCache.set(t,e)}return e},t.prototype.getSymbolByModule=function(t,e,n){var r=this.resolveModule(t,n);return r?this.getStaticSymbol(r,e):(this.reportError(new Error("Could not resolve module "+t+(n?" relative to $ {\n containingFile\n } ":""))),this.getStaticSymbol("ERROR:"+t,e))},t.prototype.resolveModule=function(t,e){try{return this.host.moduleNameToFileName(t,e)}catch(n){console.error("Could not resolve module '"+t+"' relative to file "+e),this.reportError(n,void 0,e)}return null},t}(),ff=function(){function t(t,e){this.host=t,this.staticSymbolCache=e,this.summaryCache=new Map,this.loadedFilePaths=new Set,this.importAs=new Map}return t.prototype.isLibraryFile=function(t){return!this.host.isSourceFile(Ze(t))},t.prototype.getLibraryFileName=function(t){return this.host.getOutputFileName(t)},t.prototype.resolveSummary=function(t){t.assertNoMembers();var e=this.summaryCache.get(t);return e||(this._loadSummaryFile(t.filePath),e=this.summaryCache.get(t)),e},t.prototype.getSymbolsOf=function(t){return this._loadSummaryFile(t),Array.from(this.summaryCache.keys()).filter(function(e){return e.filePath===t})},t.prototype.getImportAs=function(t){return t.assertNoMembers(),this.importAs.get(t)},t.prototype.addSummary=function(t){this.summaryCache.set(t.symbol,t)},t.prototype._loadSummaryFile=function(t){var e=this;if(!this.loadedFilePaths.has(t)&&(this.loadedFilePaths.add(t),this.isLibraryFile(t))){var n=tn(t),r=void 0;try{r=this.host.loadSummary(n)}catch(t){throw console.error("Error loading summary file "+n),t}if(r){var i=Sr(this.staticSymbolCache,r),o=i.summaries,s=i.importAs;o.forEach(function(t){return e.summaryCache.set(t.symbol,t)}),s.forEach(function(n){e.importAs.set(n.symbol,e.staticSymbolCache.get(Ke(t),n.importAs))})}}},t}(),df=function(){function t(t,e,n,r){this.parent=t,this.instance=e,this.className=n,this.vars=r,this.exports=[]}return t.prototype.createChildWihtLocalVars=function(){return new t(this,this.instance,this.className,new Map)},t}(),mf=function(){function t(t){this.value=t}return t}(),yf=function(){function t(){}return t.prototype.debugAst=function(t){return zn(t)},t.prototype.visitDeclareVarStmt=function(t,e){return e.vars.set(t.name,t.value.visitExpression(this,e)),t.hasModifier(ap.Exported)&&e.exports.push(t.name),null},t.prototype.visitWriteVarExpr=function(t,e){for(var n=t.value.visitExpression(this,e),r=e;null!=r;){if(r.vars.has(t.name))return r.vars.set(t.name,n),n;r=r.parent}throw new Error("Not declared variable "+t.name)},t.prototype.visitReadVarExpr=function(t,e){var n=t.name;if(null!=t.builtin)switch(t.builtin){case Yl.Super:return e.instance.__proto__;case Yl.This:return e.instance;case Yl.CatchError:n=_f;break;case Yl.CatchStack:n=vf;break;default:throw new Error("Unknown builtin variable "+t.builtin)}for(var r=e;null!=r;){if(r.vars.has(n))return r.vars.get(n);r=r.parent}throw new Error("Not declared variable "+n)},t.prototype.visitWriteKeyExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.index.visitExpression(this,e),i=t.value.visitExpression(this,e);return n[r]=i,i},t.prototype.visitWritePropExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.value.visitExpression(this,e);return n[t.name]=r,r},t.prototype.visitInvokeMethodExpr=function(t,e){var n,r=t.receiver.visitExpression(this,e),i=this.visitAllExpressions(t.args,e);if(null!=t.builtin)switch(t.builtin){case Hl.ConcatArray:n=r.concat.apply(r,i);break;case Hl.SubscribeObservable:n=r.subscribe({next:i[0]});break;case Hl.Bind:n=r.bind.apply(r,i);break;default:throw new Error("Unknown builtin method "+t.builtin)}else n=r[t.name].apply(r,i);return n},t.prototype.visitInvokeFunctionExpr=function(t,e){var n=this.visitAllExpressions(t.args,e),r=t.fn;return r instanceof Nl&&r.builtin===Yl.Super?(e.instance.constructor.prototype.constructor.apply(e.instance,n),null):t.fn.visitExpression(this,e).apply(null,n)},t.prototype.visitReturnStmt=function(t,e){return new mf(t.value.visitExpression(this,e))},t.prototype.visitDeclareClassStmt=function(t,e){var n=Wr(t,e,this);return e.vars.set(t.name,n),t.hasModifier(ap.Exported)&&e.exports.push(t.name),null},t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e)},t.prototype.visitIfStmt=function(t,e){return t.condition.visitExpression(this,e)?this.visitAllStatements(t.trueCase,e):null!=t.falseCase?this.visitAllStatements(t.falseCase,e):null},t.prototype.visitTryCatchStmt=function(t,e){try{return this.visitAllStatements(t.bodyStmts,e)}catch(r){var n=e.createChildWihtLocalVars();return n.vars.set(_f,r),n.vars.set(vf,r.stack),this.visitAllStatements(t.catchStmts,n)}},t.prototype.visitThrowStmt=function(t,e){throw t.error.visitExpression(this,e)},t.prototype.visitCommentStmt=function(t,e){return null},t.prototype.visitInstantiateExpr=function(t,e){var n=this.visitAllExpressions(t.args,e),r=t.classExpr.visitExpression(this,e);return new(r.bind.apply(r,[void 0].concat(n)))},t.prototype.visitLiteralExpr=function(t,e){return t.value},t.prototype.visitExternalExpr=function(t,e){return t.value.runtime},t.prototype.visitConditionalExpr=function(t,e){return t.condition.visitExpression(this,e)?t.trueCase.visitExpression(this,e):null!=t.falseCase?t.falseCase.visitExpression(this,e):null},t.prototype.visitNotExpr=function(t,e){return!t.condition.visitExpression(this,e)},t.prototype.visitAssertNotNullExpr=function(t,e){return t.condition.visitExpression(this,e)},t.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e)},t.prototype.visitFunctionExpr=function(t,e){return zr(t.params.map(function(t){return t.name}),t.statements,e,this)},t.prototype.visitDeclareFunctionStmt=function(t,e){var n=t.params.map(function(t){return t.name});return e.vars.set(t.name,zr(n,t.statements,e,this)),t.hasModifier(ap.Exported)&&e.exports.push(t.name),null},t.prototype.visitBinaryOperatorExpr=function(t,e){var n=this,r=function(){return t.lhs.visitExpression(n,e)},i=function(){return t.rhs.visitExpression(n,e)};switch(t.operator){case Pl.Equals:return r()==i();case Pl.Identical:return r()===i();case Pl.NotEquals:return r()!=i();case Pl.NotIdentical:return r()!==i();case Pl.And:return r()&&i();case Pl.Or:return r()||i();case Pl.Plus:return r()+i();case Pl.Minus:return r()-i();case Pl.Divide:return r()/i();case Pl.Multiply:return r()*i();case Pl.Modulo:return r()%i();case Pl.Lower:return r()i();case Pl.BiggerEquals:return r()>=i();default:throw new Error("Unknown operator "+t.operator)}},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e)[t.name]},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e)[t.index.visitExpression(this,e)]},t.prototype.visitLiteralArrayExpr=function(t,e){return this.visitAllExpressions(t.entries,e)},t.prototype.visitLiteralMapExpr=function(t,e){var n=this,r={};return t.entries.forEach(function(t){return r[t.key]=t.value.visitExpression(n,e)}),r},t.prototype.visitCommaExpr=function(t,e){var n=this.visitAllExpressions(t.parts,e);return n[n.length-1]},t.prototype.visitAllExpressions=function(t,e){var n=this;return t.map(function(t){return t.visitExpression(n,e)})},t.prototype.visitAllStatements=function(t,e){for(var n=0;n0&&(e.println(t,"var self = this;"),this.visitAllStatements(t.constructorMethod.body,e)),e.decIndent(),e.println(t,"}")},e.prototype._visitClassGetter=function(t,e,n){n.println(t,"Object.defineProperty("+t.name+".prototype, '"+e.name+"', { get: function() {"),n.incIndent(),e.body.length>0&&(n.println(t,"var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println(t,"}});")},e.prototype._visitClassMethod=function(t,e,n){n.print(t,t.name+".prototype."+e.name+" = function("),this._visitParams(e.params,n),n.println(t,") {"),n.incIndent(),e.body.length>0&&(n.println(t,"var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println(t,"};")},e.prototype.visitReadVarExpr=function(e,n){if(e.builtin===Yl.This)n.print(e,"self");else{if(e.builtin===Yl.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");t.prototype.visitReadVarExpr.call(this,e,n)}return null},e.prototype.visitDeclareVarStmt=function(t,e){return e.print(t,"var "+t.name+" = "),t.value.visitExpression(this,e),e.println(t,";"),null},e.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e),null},e.prototype.visitInvokeFunctionExpr=function(e,n){var r=e.fn;return r instanceof Nl&&r.builtin===Yl.Super?(n.currentClass.parent.visitExpression(this,n),n.print(e,".call(this"),e.args.length>0&&(n.print(e,", "),this.visitAllExpressions(e.args,n,",")),n.print(e,")")):t.prototype.visitInvokeFunctionExpr.call(this,e,n),null},e.prototype.visitFunctionExpr=function(t,e){return e.print(t,"function("),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null},e.prototype.visitDeclareFunctionStmt=function(t,e){return e.print(t,"function "+t.name+"("),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println(t,"}"),null},e.prototype.visitTryCatchStmt=function(t,e){e.println(t,"try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println(t,"} catch ("+Ip.name+") {"),e.incIndent();var n=[Rp.set(Ip.prop("stack")).toDeclStmt(null,[ap.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println(t,"}"),null},e.prototype._visitParams=function(t,e){this.visitAllObjects(function(t){return e.print(null,t.name)},t,e,",")},e.prototype.getBuiltinMethodName=function(t){var e;switch(t){case Hl.ConcatArray:e="concat";break;case Hl.SubscribeObservable:e="subscribe";break;case Hl.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},e}(Fp),bf=function(t){function e(){var e=t.apply(this,arguments)||this;return e._evalArgNames=[],e._evalArgValues=[],e._evalExportedVars=[],e}return $r.a(e,t),e.prototype.createReturnStmt=function(t){new hp(new rp(this._evalExportedVars.map(function(t){return new np(t,wn(t),!1)}))).visitStatement(this,t)},e.prototype.getArgs=function(){for(var t={},e=0;e=o&&e._onFinish()}),t.onDestroy(function(){++r>=o&&e._onDestroy()}),t.onStart(function(){++i>=o&&e._onStart()})}),this.totalTime=this._players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this._players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this._players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this._players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this._players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this._players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this._players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this._players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this._players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},Object.defineProperty(t.prototype,"players",{get:function(){return this._players},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t}(),M="!"},UmTU:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;ie?1:t>=e?0:NaN}},V4qH:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}return t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},V4qq:function(t,e,n){"use strict";function r(t){return function(){return t}}function i(t){return function(e){return t(e)+""}}var o=n("UpXs"),s=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=new RegExp(s.source,"g");e.a=function(t,e){var u,c,l,p=s.lastIndex=a.lastIndex=0,h=-1,f=[],d=[];for(t+="",e+="";(u=s.exec(t))&&(c=a.exec(e));)(l=c.index)>p&&(l=e.slice(p,l),f[h]?f[h]+=l:f[++h]=l),(u=u[0])===(c=c[0])?f[h]?f[h]+=c:f[++h]=c:(f[++h]=null,d.push({i:h,x:n.i(o.a)(u,c)})),p=a.lastIndex;return p0?uc)&&(u+=a*s.b));for(var f,d=u;a>0?d>c:d=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})})},"W+Sr":function(t,e,n){"use strict";var r=n("aQps");e.audit=r.audit;var i=n("YPa8");e.auditTime=i.auditTime;var o=n("2JaL");e.buffer=o.buffer;var s=n("lYi/");e.bufferCount=s.bufferCount;var a=n("nSY4");e.bufferTime=a.bufferTime;var u=n("2yqU");e.bufferToggle=u.bufferToggle;var c=n("xx+E");e.bufferWhen=c.bufferWhen;var l=n("LxNc");e.catchError=l.catchError;var p=n("/nPl");e.combineAll=p.combineAll;var h=n("ijov");e.combineLatest=h.combineLatest;var f=n("mK7q");e.concat=f.concat;var d=n("oZkx");e.concatAll=d.concatAll;var m=n("oBYf");e.concatMap=m.concatMap;var y=n("7ZL4");e.concatMapTo=y.concatMapTo;var _=n("x+Qm");e.count=_.count;var v=n("E8hY");e.debounce=v.debounce;var g=n("MEr+");e.debounceTime=g.debounceTime;var b=n("+Zxz");e.defaultIfEmpty=b.defaultIfEmpty;var w=n("b8PX");e.delay=w.delay;var M=n("BkLI");e.delayWhen=M.delayWhen;var S=n("L97J");e.dematerialize=S.dematerialize;var T=n("Lndg");e.distinct=T.distinct;var x=n("7MSh");e.distinctUntilChanged=x.distinctUntilChanged;var E=n("qiws");e.distinctUntilKeyChanged=E.distinctUntilKeyChanged;var C=n("gzKz");e.elementAt=C.elementAt;var L=n("fI0c");e.every=L.every;var k=n("N3AT");e.exhaust=k.exhaust;var D=n("13YQ");e.exhaustMap=D.exhaustMap;var O=n("0qMM");e.expand=O.expand;var P=n("dI0l");e.filter=P.filter;var A=n("ady2");e.finalize=A.finalize;var Y=n("dw63");e.find=Y.find;var N=n("+7iS");e.findIndex=N.findIndex;var I=n("c8IX");e.first=I.first;var R=n("aQ5C");e.groupBy=R.groupBy;var j=n("ygD2");e.ignoreElements=j.ignoreElements;var H=n("ZFQj");e.isEmpty=H.isEmpty;var F=n("p/p0");e.last=F.last;var V=n("9omE");e.map=V.map;var U=n("6X/k");e.mapTo=U.mapTo;var W=n("Y0+V");e.materialize=W.materialize;var z=n("mrwz");e.max=z.max;var B=n("FDBB");e.merge=B.merge;var q=n("rKQy");e.mergeAll=q.mergeAll;var J=n("ANGw");e.mergeMap=J.mergeMap;var G=n("ANGw");e.flatMap=G.mergeMap;var Q=n("fyNK");e.mergeMapTo=Q.mergeMapTo;var K=n("jtuv");e.mergeScan=K.mergeScan;var Z=n("Z0M+");e.min=Z.min;var X=n("6BaH");e.multicast=X.multicast;var $=n("ODby");e.observeOn=$.observeOn;var tt=n("TLKQ");e.onErrorResumeNext=tt.onErrorResumeNext;var et=n("Uqr9");e.pairwise=et.pairwise;var nt=n("PYDO");e.partition=nt.partition;var rt=n("y4xv");e.pluck=rt.pluck;var it=n("i9tv");e.publish=it.publish;var ot=n("1wLk");e.publishBehavior=ot.publishBehavior;var st=n("tGXy");e.publishLast=st.publishLast;var at=n("BV2O");e.publishReplay=at.publishReplay;var ut=n("qIte");e.race=ut.race;var ct=n("dt7L");e.reduce=ct.reduce;var lt=n("xazO");e.repeat=lt.repeat;var pt=n("Abu5");e.repeatWhen=pt.repeatWhen;var ht=n("HrNe");e.retry=ht.retry;var ft=n("hQYy");e.retryWhen=ft.retryWhen;var dt=n("9dR0");e.refCount=dt.refCount;var mt=n("ZzDa");e.sample=mt.sample;var yt=n("Lb3r");e.sampleTime=yt.sampleTime;var _t=n("UYy0");e.scan=_t.scan;var vt=n("A3ES");e.sequenceEqual=vt.sequenceEqual;var gt=n("sTFn");e.share=gt.share;var bt=n("N/Bz");e.shareReplay=bt.shareReplay;var wt=n("DZi2");e.single=wt.single;var Mt=n("JzlZ");e.skip=Mt.skip;var St=n("itCf");e.skipLast=St.skipLast;var Tt=n("Cw9N");e.skipUntil=Tt.skipUntil;var xt=n("prqh");e.skipWhile=xt.skipWhile;var Et=n("C/iu");e.startWith=Et.startWith;var Ct=n("Am8Y");e.switchAll=Ct.switchAll;var Lt=n("sAZ4");e.switchMap=Lt.switchMap;var kt=n("/Sq5");e.switchMapTo=kt.switchMapTo;var Dt=n("5et3");e.take=Dt.take;var Ot=n("UwVZ");e.takeLast=Ot.takeLast;var Pt=n("RU1a");e.takeUntil=Pt.takeUntil;var At=n("215F");e.takeWhile=At.takeWhile;var Yt=n("D2Nv");e.tap=Yt.tap;var Nt=n("IsV2");e.throttle=Nt.throttle;var It=n("yK6r");e.throttleTime=It.throttleTime;var Rt=n("F9Yt");e.timeInterval=Rt.timeInterval;var jt=n("D77r");e.timeout=jt.timeout;var Ht=n("Wx6B");e.timeoutWith=Ht.timeoutWith;var Ft=n("tyXZ");e.timestamp=Ft.timestamp;var Vt=n("piny");e.toArray=Vt.toArray;var Ut=n("5LW/");e.window=Ut.window;var Wt=n("xHsH");e.windowCount=Wt.windowCount;var zt=n("17on");e.windowTime=zt.windowTime;var Bt=n("ashs");e.windowToggle=Bt.windowToggle;var qt=n("8FDs");e.windowWhen=qt.windowWhen;var Jt=n("offc");e.withLatestFrom=Jt.withLatestFrom;var Gt=n("SoJr");e.zip=Gt.zip;var Qt=n("KHaY");e.zipAll=Qt.zipAll},"W1/H":function(t,e,n){"use strict";var r=n("rCTf"),i=n("YgqK");r.Observable.prototype.findIndex=i.findIndex},W8S9:function(t,e,n){"use strict";function r(t){for(var e,n=0,r=-1,i=t.length;++r0?a.a:-a.a,p=n.i(a.o)(u-r);n.i(a.o)(p-a.a)0?a.k:-a.k),t.point(s,o),t.lineEnd(),t.lineStart(),t.point(l,o),t.point(u,o),e=0):s!==l&&p>=a.a&&(n.i(a.o)(r-s)a.p?n.i(a.l)((n.i(a.d)(e)*(s=n.i(a.c)(i))*n.i(a.d)(r)-n.i(a.d)(i)*(o=n.i(a.c)(e))*n.i(a.d)(t))/(o*s*u)):(e+i)/2}function o(t,e,r,i){var o;if(null==t)o=r*a.k,i.point(-a.a,o),i.point(0,o),i.point(a.a,o),i.point(a.a,0),i.point(a.a,-o),i.point(0,-o),i.point(-a.a,-o),i.point(-a.a,0),i.point(-a.a,o);else if(n.i(a.o)(t[0]-e[0])>a.p){var s=t[0]c?s+new Array(u-c+1).join("0"):u>0?s.slice(0,u)+"."+s.slice(u):"0."+new Array(1-u).join("0")+n.i(r.a)(t,Math.max(0,e+u-1))[0]}},YgqK:function(t,e,n){"use strict";function r(t,e){return i.findIndex(t,e)(this)}var i=n("+7iS");e.findIndex=r},Yh3o:function(t,e,n){"use strict";function r(t){return n.i(f.a)({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}function i(t){return o(function(){return t})()}function o(t){function e(t){return t=M(t[0]*p.g,t[1]*p.g),[t[0]*L+g,b-t[1]*L]}function i(t){return(t=M.invert((t[0]-g)/L,(b-t[1])/L))&&[t[0]*p.h,t[1]*p.h]}function o(t,e){return t=v(t,e),[t[0]*L+g,b-t[1]*L]}function f(){M=n.i(c.a)(w=n.i(h.b)(A,Y,N),v);var t=v(O,P);return g=k-t[0]*L,b=D+t[1]*L,_()}function _(){return E=C=null,e}var v,g,b,w,M,S,T,x,E,C,L=150,k=480,D=250,O=0,P=0,A=0,Y=0,N=0,I=null,R=s.a,j=null,H=l.a,F=.5,V=n.i(m.a)(o,F);return e.stream=function(t){return E&&C===t?E:E=y(r(w)(R(V(H(C=t)))))},e.preclip=function(t){return arguments.length?(R=t,I=void 0,_()):R},e.postclip=function(t){return arguments.length?(H=t,j=S=T=x=null,_()):H},e.clipAngle=function(t){return arguments.length?(R=+t?n.i(a.a)(I=t*p.g):(I=null,s.a),_()):I*p.h},e.clipExtent=function(t){return arguments.length?(H=null==t?(j=S=T=x=null,l.a):n.i(u.a)(j=+t[0][0],S=+t[0][1],T=+t[1][0],x=+t[1][1]),_()):null==j?null:[[j,S],[T,x]]},e.scale=function(t){return arguments.length?(L=+t,f()):L},e.translate=function(t){return arguments.length?(k=+t[0],D=+t[1],f()):[k,D]},e.center=function(t){return arguments.length?(O=t[0]%360*p.g,P=t[1]%360*p.g,f()):[O*p.h,P*p.h]},e.rotate=function(t){return arguments.length?(A=t[0]%360*p.g,Y=t[1]%360*p.g,N=t.length>2?t[2]%360*p.g:0,f()):[A*p.h,Y*p.h,N*p.h]},e.precision=function(t){return arguments.length?(V=n.i(m.a)(o,F=t*t),_()):n.i(p.n)(F)},e.fitExtent=function(t,r){return n.i(d.a)(e,t,r)},e.fitSize=function(t,r){return n.i(d.b)(e,t,r)},e.fitWidth=function(t,r){return n.i(d.c)(e,t,r)},e.fitHeight=function(t,r){return n.i(d.d)(e,t,r)},function(){return v=t.apply(this,arguments),e.invert=v.invert&&i,f()}}var s=n("YdrZ"),a=n("kR9V"),u=n("8P9p"),c=n("0o4c"),l=n("s9yc"),p=n("te0Z"),h=n("vRdb"),f=n("zBcb"),d=n("KeD0"),m=n("gYAQ");e.a=i,e.b=o;var y=n.i(f.a)({point:function(t,e){this.stream.point(t*p.g,e*p.g)}})},Yh8Q:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("RRVv"),s=n("jBEF"),a=n("fWbP"),u=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n1?new e(t,r):1===i?new o.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,i=t.subscriber;if(n>=r)return void i.complete();i.next(e[n]),i.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var o=0;o=0;)e+=n[r].value;else e=1;t.value=e}e.a=function(){return this.eachAfter(r)}},Yuqe:function(t,e,n){"use strict";function r(t,e){return i.concatMapTo(t,e)(this)}var i=n("7ZL4");e.concatMapTo=r},YyuB:function(t,e,n){"use strict";e.a=function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})}},"Z0M+":function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t20?n=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(n=r[e]),t+n},week:{dow:1,doy:4}})})},ZFQj:function(t,e,n){"use strict";function r(){return function(t){return t.lift(new s)}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.isEmpty=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return i(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.Subscriber)},ZJf8:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("B00U"),o=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(i.Subscription);e.SubjectSubscription=o},ZNKe:function(t,e,n){"use strict";e.a=function(){}},ZNi3:function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"a",function(){return s}),n.d(e,"e",function(){return a}),n.d(e,"d",function(){return u});var r=Math.cos,i=Math.sin,o=Math.PI,s=o/2,a=2*o,u=Math.max},ZPeh:function(t,e,n){"use strict";function r(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}e.a=r},ZUyn:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})},ZZPZ:function(t,e,n){"use strict";n("HfWN"),n("V1p6"),n("Mh8Z"),n("r4pm")},ZgKu:function(t,e,n){"use strict"},ZoSI:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},ZrGL:function(t,e,n){"use strict";n("pSFt"),n("9IlT")},ZvZx:function(t,e,n){"use strict";function r(t){return i.max(t)(this)}var i=n("mrwz");e.max=r},ZzDa:function(t,e,n){"use strict";function r(t){return function(e){return e.lift(new a(t))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.sample=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new u(t),r=e.subscribe(n);return r.add(s.subscribeToResult(n,this.notifier)),r},t}(),u=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return i(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.OuterSubscriber)},a0Ch:function(t,e,n){"use strict";var r=n("rCTf"),i=n("8DDp");r.Observable.prototype.timeoutWith=i.timeoutWith},a1VC:function(t,e,n){"use strict";var r=n("9j4o"),i=r.f.prototype.constructor;e.a=function(){return new i(this._groups,this._parents)}},a4aQ:function(t,e,n){"use strict";e.a=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}},aK9X:function(t,e,n){"use strict";function r(t){return function e(r){function s(e,s){var a=t((e=n.i(i.b)(e)).h,(s=n.i(i.b)(s)).h),u=n.i(o.a)(e.s,s.s),c=n.i(o.a)(e.l,s.l),l=n.i(o.a)(e.opacity,s.opacity);return function(t){return e.h=a(t),e.s=u(t),e.l=c(Math.pow(t,r)),e.opacity=l(t),e+""}}return r=+r,s.gamma=e,s}(1)}var i=n("afsG"),o=n("tgfP");n.d(e,"a",function(){return s});var s=(r(o.b),r(o.a))},aM0x:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};return t.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})})},aQ5C:function(t,e,n){"use strict";function r(t,e,n,r){return function(i){return i.lift(new p(t,e,n,r))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("B00U"),a=n("rCTf"),u=n("EEr4"),c=n("9JPB"),l=n("1kxm");e.groupBy=r;var p=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),h=function(t){function e(e,n,r,i,o){t.call(this,e),this.keySelector=n,this.elementSelector=r,this.durationSelector=i,this.subjectSelector=o,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return i(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups="string"==typeof e?new l.FastMap:new c.Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new u.Subject,n.set(e,i);var o=new d(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new d(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new f(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(o.Subscriber),f=function(t){function e(e,n,r){t.call(this,n),this.key=e,this.group=n,this.parent=r}return i(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this,e=t.parent,n=t.key;this.key=this.parent=null,e&&e.removeGroup(n)},e}(o.Subscriber),d=function(t){function e(e,n,r){t.call(this),this.key=e,this.groupSubject=n,this.refCountSubscription=r}return i(e,t),e.prototype._subscribe=function(t){var e=new s.Subscription,n=this,r=n.refCountSubscription,i=n.groupSubject;return r&&!r.closed&&e.add(new m(r)),e.add(i.subscribe(t)),e},e}(a.Observable);e.GroupedObservable=d;var m=function(t){function e(e){t.call(this),this.parent=e,e.count++}return i(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(s.Subscription)},aQl7:function(t,e,n){"use strict";function r(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}e.isPromise=r},aQps:function(t,e,n){"use strict";function r(t){return function(e){return e.lift(new c(t))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),a=n("wAkD"),u=n("CURp");e.audit=r;var c=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.durationSelector))},t}(),l=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1}return i(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=o.tryCatch(this.durationSelector)(t);if(e===s.errorObject)this.destination.error(s.errorObject.e);else{var n=u.subscribeToResult(this,e);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(a.OuterSubscriber)},aT6V:function(t,e,n){"use strict";var r=n("3j3K");n.d(e,"a",function(){return o});var i=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},o=function(){function t(){this.routesFriendlyNames=new Map,this.routesFriendlyNamesRegex=new Map,this.routesWithCallback=new Map,this.routesWithCallbackRegex=new Map,this.hideRoutes=new Array,this.hideRoutesRegex=new Array}return t.prototype.addFriendlyNameForRoute=function(t,e){this.routesFriendlyNames.set(t,e)},t.prototype.addFriendlyNameForRouteRegex=function(t,e){this.routesFriendlyNamesRegex.set(t,e)},t.prototype.addCallbackForRoute=function(t,e){this.routesWithCallback.set(t,e)},t.prototype.addCallbackForRouteRegex=function(t,e){this.routesWithCallbackRegex.set(t,e)},t.prototype.getFriendlyNameForRoute=function(t){var e,n=t.substr(t.lastIndexOf("/")+1,t.length);return this.routesFriendlyNames.forEach(function(n,r,i){r===t&&(e=n)}),this.routesFriendlyNamesRegex.forEach(function(n,r,i){new RegExp(r).exec(t)&&(e=n)}),this.routesWithCallback.forEach(function(r,i,o){i===t&&(e=r(n))}),this.routesWithCallbackRegex.forEach(function(r,i,o){new RegExp(i).exec(t)&&(e=r(n))}),e||n},t.prototype.hideRoute=function(t){-1===this.hideRoutes.indexOf(t)&&this.hideRoutes.push(t)},t.prototype.hideRouteRegex=function(t){-1===this.hideRoutesRegex.indexOf(t)&&this.hideRoutesRegex.push(t)},t.prototype.isRouteHidden=function(t){var e=this.hideRoutes.indexOf(t)>-1;return this.hideRoutesRegex.forEach(function(n){new RegExp(n).exec(t)&&(e=!0)}),e},t}();o=i([n.i(r.Injectable)()],o)},aULM:function(t,e,n){"use strict";var r=n("m0SH"),i=n("phYG");e.a=function(t){"function"!=typeof t&&(t=n.i(i.a)(t));for(var e=this._groups,o=e.length,s=new Array(o),a=0;ar?(r+i)/2:Math.min(0,r)||Math.max(0,i),s>o?(o+s)/2:Math.min(0,o)||Math.max(0,s))}var c=n("7rLc"),l=n("YBzI"),p=n("twHu"),h=n("9j4o"),f=n("PAQ2"),d=n("A1w/"),m=n("f9bu"),y=n("InLl"),_=n("5EmD");e.a=function(){function t(t){t.property("__zoom",o).on("wheel.zoom",S).on("mousedown.zoom",T).on("dblclick.zoom",x).filter(N).on("touchstart.zoom",E).on("touchmove.zoom",C).on("touchend.zoom touchcancel.zoom",L).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function e(t,e){return e=Math.max(I[0],Math.min(I[1],e)),e===t.k?t:new y.c(e,t.x,t.y)}function v(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new y.c(t.k,r,i)}function g(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function b(t,e,n){t.on("start.zoom",function(){w(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=w(t,r),o=P.apply(t,r),s=n||g(o),a=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),u=t.__zoom,c="function"==typeof e?e.apply(t,r):e,l=H(u.invert(s).concat(a/u.k),c.invert(s).concat(a/c.k));return function(t){if(1===t)t=c;else{var e=l(t),n=a/e[2];t=new y.c(n,s[0]-e[0]*n,s[1]-e[1]*n)}i.zoom(null,t)}})}function w(t,e){for(var n,r=0,i=F.length;rz}r.zoom("mouse",A(v(r.that.__zoom,r.mouse[0]=n.i(h.d)(r.that),r.mouse[1]),r.extent,R))}function e(){i.on("mousemove.zoom mouseup.zoom",null),n.i(l.b)(h.b.view,r.moved),n.i(_.a)(),r.end()}if(!D&&O.apply(this,arguments)){var r=w(this,arguments),i=n.i(h.a)(h.b.view).on("mousemove.zoom",t,!0).on("mouseup.zoom",e,!0),o=n.i(h.d)(this),s=h.b.clientX,a=h.b.clientY;n.i(l.a)(h.b.view),n.i(_.b)(),r.mouse=[o,this.__zoom.invert(o)],n.i(f.a)(this),r.start()}}function x(){if(O.apply(this,arguments)){var r=this.__zoom,i=n.i(h.d)(this),o=r.invert(i),s=r.k*(h.b.shiftKey?.5:2),a=A(v(e(r,s),i,o),P.apply(this,arguments),R);n.i(_.a)(),j>0?n.i(h.a)(this).transition().duration(j).call(b,a,i):n.i(h.a)(this).call(t.transform,a)}}function E(){if(O.apply(this,arguments)){var t,e,r,i,o=w(this,arguments),s=h.b.changedTouches,a=s.length;for(n.i(_.b)(),e=0;e0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new p(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(u.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(u.Notification.createComplete())},e}(a.Subscriber),p=function(){function t(t,e){this.time=t,this.notification=e}return t}()},bBiI:function(t,e,n){"use strict";function r(t,e,n){return i.first(t,e,n)(this)}var i=n("c8IX");e.first=r},bDpb:function(t,e,n){"use strict";e.a=function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}},bE1M:function(t,e,n){"use strict";function r(t,e){return i.concatMap(t,e)(this)}var i=n("oBYf");e.concatMap=r},bLsU:function(t,e,n){"use strict";function r(t){return t.length>1}function i(t,e){return((t=t.x)[0]<0?t[1]-a.k-a.p:a.k-t[1])-((e=e.x)[0]<0?e[1]-a.k-a.p:a.k-e[1])}var o=n("9AMV"),s=n("Jdmp"),a=n("te0Z"),u=n("ATuW"),c=n("kW7t");e.a=function(t,e,a,l){return function(p){function h(e,n){t(e,n)&&p.point(e,n)}function f(t,e){M.point(t,e)}function d(){E.point=f,M.lineStart()}function m(){E.point=h,M.lineEnd()}function y(t,e){w.push([t,e]),T.point(t,e)}function _(){T.lineStart(),w=[]}function v(){y(w[0][0],w[0][1]),T.lineEnd();var t,e,n,i,o=T.clean(),s=S.result(),a=s.length;if(w.pop(),g.push(w),w=null,a)if(1&o){if(n=s[0],(e=n.length-1)>0){for(x||(p.polygonStart(),x=!0),p.lineStart(),t=0;t1&&2&o&&s.push(s.pop().concat(s.shift())),b.push(s.filter(r))}var g,b,w,M=e(p),S=n.i(o.a)(),T=e(S),x=!1,E={point:h,lineStart:d,lineEnd:m,polygonStart:function(){E.point=y,E.lineStart=_,E.lineEnd=v,b=[],g=[]},polygonEnd:function(){E.point=h,E.lineStart=d,E.lineEnd=m,b=n.i(c.i)(b);var t=n.i(u.a)(g,l);b.length?(x||(p.polygonStart(),x=!0),n.i(s.a)(b,i,t,a,p)):t&&(x||(p.polygonStart(),x=!0),p.lineStart(),a(null,null,1,p),p.lineEnd()),x&&(p.polygonEnd(),x=!1),b=g=null},sphere:function(){p.polygonStart(),p.lineStart(),a(null,null,1,p),p.lineEnd(),p.polygonEnd()}};return E}}},bQZb:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r="http://www.w3.org/1999/xhtml";e.b={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},bXKc:function(t,e,n){"use strict";n("W8S9")},bXQP:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})})},"bZY+":function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("P3oE"),o=n("rCTf"),s=n("CGGv"),a=function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=s.async),t.call(this),this.period=e,this.scheduler=n,(!i.isNumeric(e)||e<0)&&(this.period=0),n&&"function"==typeof n.schedule||(this.scheduler=s.async)}return r(e,t),e.create=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=s.async),new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.subscriber,r=t.period;n.next(e),n.closed||(t.index+=1,this.schedule(t,r))},e.prototype._subscribe=function(t){var n=this.period,r=this.scheduler;t.add(r.schedule(e.dispatch,n,{index:0,subscriber:t,period:n}))},e}(o.Observable);e.IntervalObservable=a},c1x4:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};return t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},c3t5:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ioK+");r.Observable.fromPromise=i.fromPromise},c4WA:function(t,e,n){"use strict";var r=n("a4aQ");e.a=function(t){var e,n,i,o,s,a,u=[],c=this._root;for(c&&u.push(new r.a(c,this._x0,this._y0,this._x1,this._y1));e=u.pop();)if(!t(c=e.node,i=e.x0,o=e.y0,s=e.x1,a=e.y1)&&c.length){var l=(i+s)/2,p=(o+a)/2;(n=c[3])&&u.push(new r.a(n,l,p,s,a)),(n=c[2])&&u.push(new r.a(n,i,p,l,a)),(n=c[1])&&u.push(new r.a(n,l,o,s,p)),(n=c[0])&&u.push(new r.a(n,i,o,l,p))}return this}},c8IX:function(t,e,n){"use strict";function r(t,e,n){return function(r){return r.lift(new a(t,e,n,r))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("F7Al");e.first=r;var a=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),u=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=i,this.source=o,this.index=0,this.hasCompleted=!1,this._emitted=!1}return i(e,t),e.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}n&&this._emit(t,e)},e.prototype._emit=function(t,e){if(this.resultSelector)return void this._tryResultSelector(t,e);this._emitFinal(t)},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(n)},e.prototype._emitFinal=function(t){var e=this.destination;this._emitted||(this._emitted=!0,e.next(t),e.complete(),this.hasCompleted=!0)},e.prototype._complete=function(){var t=this.destination;this.hasCompleted||void 0===this.defaultValue?this.hasCompleted||t.error(new s.EmptyError):(t.next(this.defaultValue),t.complete())},e}(o.Subscriber)},cDAr:function(t,e,n){"use strict";var r=n("rCTf"),i=n("E/WS");r.Observable.prototype.timeout=i.timeout},cJSH:function(t,e,n){"use strict";function r(t,e,n,r){return i.groupBy(t,e,n,r)(this)}var i=n("aQ5C");e.GroupedObservable=i.GroupedObservable,e.groupBy=r},cPwE:function(t,e,n){"use strict";var r=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();e.Scheduler=r},cbuX:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),i.mergeAll(t)(this)}var i=n("rKQy");e.mergeAll=r},cdmN:function(t,e,n){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),o=0;o=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},e.a=function(t,e){var n=r(t+"");if(arguments.length<2){for(var o=i(this.node()),s=-1,a=n.length;++sr.a&&n.stateo.a){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>o.a){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,p=3*t._l23_a*(t._l23_a+t._l12_a);s=(s*l+t._x1*t._l23_2a-e*t._l12_2a)/p,a=(a*l+t._y1*t._l23_2a-n*t._l12_2a)/p}t._context.bezierCurveTo(r,i,s,a,t._x2,t._y2)}function i(t,e){this._context=t,this._alpha=e}var o=n("p1aI"),s=n("0rxW");e.a=r,i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:r(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};!function t(e){function n(t){return e?new i(t,e):new s.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},dI0l:function(t,e,n){"use strict";function r(t,e){return function(n){return n.lift(new s(t,e))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.filter=r;var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.thisArg=r,this.count=0}return i(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(o.Subscriber)},dSW5:function(t,e,n){"use strict";function r(){}function i(t){var e;return t=(t+"").trim().toLowerCase(),(e=w.exec(t))?(e=parseInt(e[1],16),new c(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1)):(e=M.exec(t))?o(parseInt(e[1],16)):(e=S.exec(t))?new c(e[1],e[2],e[3],1):(e=T.exec(t))?new c(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=x.exec(t))?s(e[1],e[2],e[3],e[4]):(e=E.exec(t))?s(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=C.exec(t))?l(e[1],e[2]/100,e[3]/100,1):(e=L.exec(t))?l(e[1],e[2]/100,e[3]/100,e[4]):k.hasOwnProperty(t)?o(k[t]):"transparent"===t?new c(NaN,NaN,NaN,0):null}function o(t){return new c(t>>16&255,t>>8&255,255&t,1)}function s(t,e,n,r){return r<=0&&(t=e=n=NaN),new c(t,e,n,r)}function a(t){return t instanceof r||(t=i(t)),t?(t=t.rgb(),new c(t.r,t.g,t.b,t.opacity)):new c}function u(t,e,n,r){return 1===arguments.length?a(t):new c(t,e,n,null==r?1:r)}function c(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function l(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new f(t,e,n,r)}function p(t){if(t instanceof f)return new f(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=i(t)),!t)return new f;if(t instanceof f)return t;t=t.rgb();var e=t.r/255,n=t.g/255,o=t.b/255,s=Math.min(e,n,o),a=Math.max(e,n,o),u=NaN,c=a-s,l=(a+s)/2;return c?(u=e===a?(n-o)/c+6*(n0&&l<1?0:u,new f(u,c,l,t.opacity)}function h(t,e,n,r){return 1===arguments.length?p(t):new f(t,e,n,null==r?1:r)}function f(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function d(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}var m=n("Ni2Y");e.d=r,n.d(e,"f",function(){return y}),n.d(e,"e",function(){return _}),e.a=i,e.c=a,e.h=u,e.b=c,e.g=h;var y=.7,_=1/y,v="\\s*([+-]?\\d+)\\s*",g="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",b="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",w=/^#([0-9a-f]{3})$/,M=/^#([0-9a-f]{6})$/,S=new RegExp("^rgb\\("+[v,v,v]+"\\)$"),T=new RegExp("^rgb\\("+[b,b,b]+"\\)$"),x=new RegExp("^rgba\\("+[v,v,v,g]+"\\)$"),E=new RegExp("^rgba\\("+[b,b,b,g]+"\\)$"),C=new RegExp("^hsl\\("+[g,b,b]+"\\)$"),L=new RegExp("^hsla\\("+[g,b,b,g]+"\\)$"),k={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};n.i(m.a)(r,i,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),n.i(m.a)(c,u,n.i(m.b)(r,{brighter:function(t){return t=null==t?_:Math.pow(_,t),new c(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?y:Math.pow(y,t),new c(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),n.i(m.a)(f,h,n.i(m.b)(r,{brighter:function(t){return t=null==t?_:Math.pow(_,t),new f(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?y:Math.pow(y,t),new f(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new c(d(t>=240?t-240:t+120,i,r),d(t,i,r),d(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},dURR:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})})},dWFW:function(t,e,n){"use strict";function r(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}n.d(e,"b",function(){return i}),e.a=r;var i=Array.prototype.slice},driz:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=i.async),o.debounceTime(t,e)(this)}var i=n("CGGv"),o=n("MEr+");e.debounceTime=r},dt7L:function(t,e,n){"use strict";function r(t,e){return arguments.length>=2?function(n){return a.pipe(i.scan(t,e),o.takeLast(1),s.defaultIfEmpty(e))(n)}:function(e){return a.pipe(i.scan(function(e,n,r){return t(e,n,r+1)}),o.takeLast(1))(e)}}var i=n("UYy0"),o=n("UwVZ"),s=n("+Zxz"),a=n("9eyw");e.reduce=r},dw63:function(t,e,n){"use strict";function r(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new s(t,n,!1,e))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS");e.find=r;var s=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}();e.FindValueOperator=s;var a=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.source=r,this.yieldIndex=i,this.thisArg=o,this.index=0}return i(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this,n=e.predicate,r=e.thisArg,i=this.index++;try{n.call(r||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(o.Subscriber);e.FindValueSubscriber=a},dxLE:function(t,e,n){"use strict";function r(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))return u.time=n.i(a.c)(),u;return r}var i=n("pSFt"),o=n("9IlT"),s=n("V0Ox"),a=n("BXT1"),u={time:null,delay:0,duration:250,ease:s.a};e.a=function(t){var e,s;t instanceof i.a?(e=t._id,t=t._name):(e=n.i(i.b)(),(s=u).time=n.i(a.c)(),t=null==t?null:t+"");for(var c=this._groups,l=c.length,p=0;p=100?100:null;return t+(e[n]||e[r]||e[i])},week:{dow:1,doy:7}})})},eJxA:function(t,e,n){"use strict";var r=n("b0+b");n.d(e,"a",function(){return r.a});var i=n("InLl");n.d(e,"b",function(){return i.a})},eUIS:function(t,e,n){"use strict";function r(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,o,s,a,u,c,l,p,h,f=t._root,d={data:r},m=t._x0,y=t._y0,_=t._x1,v=t._y1;if(!f)return t._root=d,t;for(;f.length;)if((c=e>=(o=(m+_)/2))?m=o:_=o,(l=n>=(s=(y+v)/2))?y=s:v=s,i=f,!(f=f[p=l<<1|c]))return i[p]=d,t;if(a=+t._x.call(null,f.data),u=+t._y.call(null,f.data),e===a&&n===u)return d.next=f,i?i[p]=d:t._root=d,t;do{i=i?i[p]=new Array(4):t._root=new Array(4),(c=e>=(o=(m+_)/2))?m=o:_=o,(l=n>=(s=(y+v)/2))?y=s:v=s}while((p=l<<1|c)==(h=(u>=s)<<1|a>=o));return i[h]=f,i[p]=d,t}function i(t){var e,n,i,o,s=t.length,a=new Array(s),u=new Array(s),c=1/0,l=1/0,p=-1/0,h=-1/0;for(n=0;np&&(p=i),oh&&(h=o));for(p0?(c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i,i=n.i(o.b)(c,l,r)):i<0&&(c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i,i=n.i(o.b)(c,l,r)),i>0?(s[a]=Math.floor(c/i)*i,s[u]=Math.ceil(l/i)*i,e(s)):i<0&&(s[a]=Math.ceil(c*i)/i,s[u]=Math.floor(l*i)/i,e(s)),t},t}function i(){var t=n.i(a.a)(a.b,s.c);return t.copy=function(){return n.i(a.c)(t,i())},r(t)}var o=n("kW7t"),s=n("twHu"),a=n("CMgq"),u=n("CSt/");e.b=r,e.a=i},f4W3:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};return t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},f9Vf:function(t,e,n){"use strict";n("s9yc"),n("S0TS"),n("s6Ue"),n("IPt+"),n("HaxE"),n("rKvG"),n("9EFR"),n("oUyF")},f9bu:function(t,e,n){"use strict";function r(t,e,n){this.target=t,this.type=e,this.transform=n}e.a=r},fHW4:function(t,e,n){"use strict";e.a=function(t){for(var e=this._groups,n=0,r=e.length;n>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[o],n)>0?i=o:r=o+1}return r}}}},fiy1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("u2wr");r.Observable.prototype.withLatestFrom=i.withLatestFrom},ftJA:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("Uqs8"),s=n("P3oE"),a=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=o.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=r,(!s.isNumeric(n)||n<0)&&(this.delayTime=0),r&&"function"==typeof r.schedule||(this.scheduler=o.asap)}return r(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=o.asap),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(i.Observable);e.SubscribeOnObservable=a},fuZx:function(t,e,n){"use strict";function r(t){return t instanceof Date&&!isNaN(+t)}e.isDate=r},fyNK:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),function(r){return r.lift(new a(t,e,n))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.mergeMapTo=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=a;var u=function(t){function e(e,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapToSubscriber=u},g0nL:function(t,e,n){"use strict";var r=n("rCTf"),i=n("tefl");r.Observable.pairs=i.pairs},g28B:function(t,e,n){"use strict";function r(t,e){for(var n=0,r=e.length;n=20?"ste":"de")},week:{dow:1,doy:4}})})},gDzJ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Imsy");r.Observable.prototype.windowWhen=i.windowWhen},gEI2:function(t,e,n){"use strict";e.a=function(){return this._root}},gEQe:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};return t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})})},gEU3:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},gGI2:function(t,e,n){"use strict";n("f1wK")},gIFM:function(t,e,n){"use strict";var r=n("Dc2k");e.ajax=r.AjaxObservable.create},gLRI:function(t,e,n){"use strict";function r(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}var i=n("whnk");r.prototype=Object.create(i.a.prototype)},gNDc:function(t,e,n){"use strict";function r(){i.b.stopImmediatePropagation()}var i=n("9j4o");e.b=r,e.a=function(){i.b.preventDefault(),i.b.stopImmediatePropagation()}},gUgh:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})},gYAQ:function(t,e,n){"use strict";function r(t){return n.i(a.a)({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}function i(t,e){function r(i,o,a,u,l,p,h,f,d,m,y,_,v,g){var b=h-i,w=f-o,M=b*b+w*w;if(M>4*e&&v--){var S=u+m,T=l+y,x=p+_,E=n.i(s.n)(S*S+T*T+x*x),C=n.i(s.f)(x/=E),L=n.i(s.o)(n.i(s.o)(x)-1)e||n.i(s.o)((b*P+w*A)/M-.5)>.3||u*m+l*y+p*_0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=o.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(o.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0)},e}(i.AsyncAction);e.AnimationFrameAction=s},gijU:function(t,e,n){"use strict";var r=n("K0ou"),i=n("N5P4"),o=n("tQwm");!function t(e){function s(t,s,a,u,c){if((l=t._squarify)&&l.ratio===e)for(var l,p,h,f,d,m=-1,y=l.length,_=t.value;++m1?e:1)},s}(o.b)},gpTc:function(t,e,n){"use strict";e.a=function(){var t=0;return this.each(function(){++t}),t}},gqRZ:function(t,e,n){"use strict";n("JTur")},grJo:function(t,e,n){"use strict";function r(){this.textContent=""}function i(t){return function(){this.textContent=t}}function o(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}e.a=function(t){return arguments.length?this.each(null==t?r:("function"==typeof t?o:i)(t)):this.node().textContent}},gzKz:function(t,e,n){"use strict";function r(t,e){return function(n){return n.lift(new a(t,e))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("8Z8y");e.elementAt=r;var a=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.index,this.defaultValue))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.index=n,this.defaultValue=r}return i(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new s.ArgumentOutOfRangeError)),t.complete()},e}(o.Subscriber)},h0n8:function(t,e,n){"use strict";n("PWpI"),n("W8S9")},h0qH:function(t,e,n){"use strict";var r=n("rCTf"),i=n("s3oX");r.Observable.throw=i._throw},"hG+S":function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},hHgl:function(t,e,n){"use strict";var r=n("ktkS");n.d(e,"a",function(){return r.a});var i=(n("v8ur"),n("aT6V"));n.d(e,"b",function(){return i.a})},hPuz:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})},hQYy:function(t,e,n){"use strict";function r(t){return function(e){return e.lift(new l(t,e))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("EEr4"),s=n("+3eL"),a=n("WhVc"),u=n("wAkD"),c=n("CURp");e.retryWhen=r;var l=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.notifier,this.source))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new o.Subject,(r=s.tryCatch(this.notifier)(n))===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);i=c.subscribeToResult(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=i,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,i){var o=this,s=o.errors,a=o.retries,u=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=u,this.source.subscribe(this)},e}(u.OuterSubscriber)},hYBY:function(t,e,n){"use strict";function r(t){var e=t.value,n=t.subscriber;n.closed||(n.next(e),n.complete())}function i(t){var e=t.err,n=t.subscriber;n.closed||n.error(e)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n("VOfZ"),a=n("rCTf"),u=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return o(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,o=this.scheduler;if(null==o)this._isScalar?t.closed||(t.next(this.value),t.complete()):n.then(function(n){e.value=n,e._isScalar=!0,t.closed||(t.next(n),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){s.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return o.schedule(r,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(o.schedule(r,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(o.schedule(i,0,{err:e,subscriber:t}))}).then(null,function(t){s.root.setTimeout(function(){throw t})})},e}(a.Observable);e.PromiseObservable=u},hbW7:function(t,e,n){"use strict"},hiKS:function(t,e,n){"use strict";function r(t){return i.zipAll(t)(this)}var i=n("KHaY");e.zipAll=r},hng5:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})})},"hr2/":function(t,e,n){"use strict";n("te0Z"),n("SHTj"),n("7DIP")},hs6U:function(t,e,n){"use strict";var r=n("rCTf"),i=n("GZqV");r.Observable.prototype.find=i.find},hu4H:function(t,e,n){"use strict";e.a=function(t){return t}},hzF8:function(t,e,n){"use strict";var r=n("rCTf"),i=n("POFt");r.Observable.prototype.take=i.take},i3RM:function(t,e,n){"use strict";var r=n("a4aQ");e.a=function(t,e,n){var i,o,s,a,u,c,l,p=this._x0,h=this._y0,f=this._x1,d=this._y1,m=[],y=this._root;for(y&&m.push(new r.a(y,p,h,f,d)),null==n?n=1/0:(p=t-n,h=e-n,f=t+n,d=e+n,n*=n);c=m.pop();)if(!(!(y=c.node)||(o=c.x0)>f||(s=c.y0)>d||(a=c.x1)=v)<<1|t>=_)&&(c=m[m.length-1],m[m.length-1]=m[m.length-1-l],m[m.length-1-l]=c)}else{var g=t-+this._x.call(null,y.data),b=e-+this._y.call(null,y.data),w=g*g+b*b;if(w11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},iUY6:function(t,e,n){"use strict";var r=n("rCTf"),i=n("5nj5");r.Observable.if=i._if},iaz4:function(t,e,n){"use strict";function r(t){return n.i(i.a)(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/o.a})}var i=n("TyL3"),o=n("2bga");n.d(e,"a",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return l});var s=r(0),a=r(1),u=r(2),c=r(3),l=r(4),p=r(5),h=r(6);s.range,a.range,u.range,c.range,l.range,p.range,h.range},idF9:function(t,e,n){"use strict";e.a=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}},idJc:function(t,e,n){"use strict";e.a=function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}},ihrD:function(t,e,n){"use strict";e.a=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,o=(r=Math.floor(e))+1;else{if(!(n>t||t>i||r>e||e>o))return this;var s,a,u=i-n,c=this._root;switch(a=(e<(r+o)/2)<<1|t<(n+i)/2){case 0:do{s=new Array(4),s[a]=c,c=s}while(u*=2,i=n+u,o=r+u,t>i||e>o);break;case 1:do{s=new Array(4),s[a]=c,c=s}while(u*=2,n=i-u,o=r+u,n>t||e>o);break;case 2:do{s=new Array(4),s[a]=c,c=s}while(u*=2,i=n+u,r=o-u,t>i||r>e);break;case 3:do{s=new Array(4),s[a]=c,c=s}while(u*=2,n=i-u,r=o-u,n>t||r>e)}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this}},ij82:function(t,e,n){"use strict";function r(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}function i(t,e,n){var i,s,a=r(e)?o.g:o.e;return function(){var r=a(this,t),o=r.on;o!==i&&(s=(i=o).copy()).on(e,n),r.on=s}}var o=n("9IlT");e.a=function(t,e){var r=this._id;return arguments.length<2?n.i(o.f)(this.node(),r).on.on(t):this.each(i(r,t,e))}},ijov:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e=0;)(r=i[o])&&(s&&s!==r.nextSibling&&s.parentNode.insertBefore(r,s),s=r);return this}},"j+vx":function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};return t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){var n=t%10,r=t>=100?100:null;return t+(e[t]||e[n]||e[r])},week:{dow:1,doy:7}})})},j7ye:function(t,e,n){"use strict";var r=n("rCTf"),i=n("emOw");r.Observable.prototype.multicast=i.multicast},j8a9:function(t,e,n){"use strict"},j8cJ:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})})},jBEF:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(i.Observable);e.EmptyObservable=o},jDQW:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Mqdq");r.Observable.prototype.bufferToggle=i.bufferToggle},jF50:function(t,e,n){"use strict";var r=n("rCTf"),i=n("KKz1");r.Observable.prototype.throttleTime=i.throttleTime},jIra:function(t,e,n){"use strict";function r(){return 0}e.a=r,e.b=function(t){return function(){return t}}},jN8y:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=180/Math.PI,i={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};e.b=function(t,e,n,i,o,s){var a,u,c;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(c=t*n+e*i)&&(n-=t*c,i-=e*c),(u=Math.sqrt(n*n+i*i))&&(n/=u,i/=u,c/=u),t*it?1:e>=t?0:NaN}},jtuv:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return r.lift(new c(t,e,n))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("+3eL"),s=n("WhVc"),a=n("CURp"),u=n("wAkD");e.mergeScan=r;var c=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.accumulator,this.seed,this.concurrent))},t}();e.MergeScanOperator=c;var l=function(t){function e(e,n,r,i){t.call(this,e),this.accumulator=n,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(u.OuterSubscriber);e.MergeScanSubscriber=l},jvbR:function(t,e,n){"use strict";var r=n("rCTf"),i=n("bE1M");r.Observable.prototype.concatMap=i.concatMap},jxEH:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function n(t,n,r){return t+" "+e(o[r],t,n)}function r(t,n,r){return e(o[r],t,n)}function i(t,e){return e?"dažas sekundes":"dažām sekundēm"}var o={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};return t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:i,ss:n,m:r,mm:n,h:r,hh:n,d:r,dd:n,M:r,MM:n,y:r,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},jyAW:function(t,e,n){"use strict";function r(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function s(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;o=100?100:null;return t+(e[r]||e[i]||e[o])}},week:{dow:1,doy:7}})})},k27J:function(t,e,n){"use strict";var r=n("rCTf"),i=n("X2ud");r.Observable.prototype.combineAll=i.combineAll},kI9l:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];return t.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,n){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},kK7a:function(t,e,n){"use strict";n("1G7Q")},"kKA+":function(t,e,n){"use strict";e.a=function(t){return+t}},kR9V:function(t,e,n){"use strict";var r=n("mliP"),i=n("VXKa"),o=n("te0Z"),s=n("aphN"),a=n("bLsU");e.a=function(t){function e(e,r,o,s){n.i(i.a)(s,t,f,o,e,r)}function u(t,e){return n.i(o.c)(t)*n.i(o.c)(e)>h}function c(t){var e,r,i,a,c;return{lineStart:function(){a=i=!1,c=1},point:function(h,f){var y,_=[h,f],v=u(h,f),g=d?v?0:p(h,f):v?p(h+(h<0?o.a:-o.a),f):0;if(!e&&(a=i=v)&&t.lineStart(),v!==i&&(!(y=l(e,_))||n.i(s.a)(e,y)||n.i(s.a)(_,y))&&(_[0]+=o.p,_[1]+=o.p,v=u(_[0],_[1])),v!==i)c=0,v?(t.lineStart(),y=l(_,e),t.point(y[0],y[1])):(y=l(e,_),t.point(y[0],y[1]),t.lineEnd()),e=y;else if(m&&e&&d^v){var b;g&r||!(b=l(_,e,!0))||(c=0,d?(t.lineStart(),t.point(b[0][0],b[0][1]),t.point(b[1][0],b[1][1]),t.lineEnd()):(t.point(b[1][0],b[1][1]),t.lineEnd(),t.lineStart(),t.point(b[0][0],b[0][1])))}!v||e&&n.i(s.a)(e,_)||t.point(_[0],_[1]),e=_,i=v,r=g},lineEnd:function(){i&&t.lineEnd(),e=null},clean:function(){return c|(a&&i)<<1}}}function l(t,e,i){var s=n.i(r.a)(t),a=n.i(r.a)(e),u=[1,0,0],c=n.i(r.b)(s,a),l=n.i(r.c)(c,c),p=c[0],f=l-p*p;if(!f)return!i&&t;var d=h*l/f,m=-h*p/f,y=n.i(r.b)(u,c),_=n.i(r.d)(u,d),v=n.i(r.d)(c,m);n.i(r.e)(_,v);var g=y,b=n.i(r.c)(_,g),w=n.i(r.c)(g,g),M=b*b-w*(n.i(r.c)(_,_)-1);if(!(M<0)){var S=n.i(o.n)(M),T=n.i(r.d)(g,(-b-S)/w);if(n.i(r.e)(T,_),T=n.i(r.f)(T),!i)return T;var x,E=t[0],C=e[0],L=t[1],k=e[1];C0^T[1]<(n.i(o.o)(T[0]-E)o.a^(E<=T[0]&&T[0]<=C)){var A=n.i(r.d)(g,(-b+S)/w);return n.i(r.e)(A,_),[T,n.i(r.f)(A)]}}}function p(e,n){var r=d?t:o.a-t,i=0;return e<-r?i|=1:e>r&&(i|=2),n<-r?i|=4:n>r&&(i|=8),i}var h=n.i(o.c)(t),f=6*o.g,d=h>0,m=n.i(o.o)(h)>o.p;return n.i(a.a)(u,c,e,d?[0,-t]:[-o.a,t-o.a])}},kW7t:function(t,e,n){"use strict";var r=n("MvPe");n.d(e,"c",function(){return r.a});var i=n("V1p6");n.d(e,"g",function(){return i.a});var o=n("fcE+");n.d(e,"e",function(){return o.a});var s=(n("1FXi"),n("p0EV"),n("qf6x"),n("Q5Vw"),n("sAfY"),n("ZZPZ"),n("MPuO"),n("BASm"),n("zzYJ"),n("4/WR"),n("X9IJ"),n("nAKO"));n.d(e,"i",function(){return s.a});var a=(n("sm41"),n("VDbG"),n("hbW7"),n("r4pm"));n.d(e,"f",function(){return a.a});var u=n("5sXW");n.d(e,"h",function(){return u.a});var c=(n("S9QM"),n("ZgKu"),n("z6Jc"),n("7wGs"));n.d(e,"a",function(){return c.a}),n.d(e,"b",function(){return c.b}),n.d(e,"d",function(){return c.c});n("b0De"),n("nQNR"),n("rD3A")},kcDX:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3j3K"),i=n("rCTf"),o=function(){function t(){this.permission=this.isSupported()?Notification.permission:"denied"}return t.prototype.requestPermission=function(){var t=this;"Notification"in window&&Notification.requestPermission(function(e){return t.permission=e})},t.prototype.isSupported=function(){return"Notification"in window},t.prototype.create=function(t,e){var n=this;return new i.Observable(function(r){"Notification"in window||(r.error("Notifications are not available in this environment"),r.complete()),"granted"!==n.permission&&(r.error("The user hasn't granted you permission to send push notifications"),r.complete());var i=new Notification(t,e);i.onshow=function(t){return r.next({notification:i,event:t})},i.onclick=function(t){return r.next({notification:i,event:t})},i.onerror=function(t){return r.error({notification:i,event:t})},i.onclose=function(){return r.complete()}})},t}();o.decorators=[{type:r.Injectable}],o.ctorParameters=function(){return[]},e.PushNotificationsService=o},kcX5:function(t,e,n){"use strict";var r=n("mhxW"),i=n("itjg"),o=n("Y7ca"),s=n("UQZD");e.a=function(){function t(t){var i,o,s,h=t.length,f=!1;for(null==c&&(p=l(s=n.i(r.a)())),i=0;i<=h;++i)!(i=o?f=!0:(n=t.charCodeAt(p++))===c?d=!0:n===l&&(d=!0,t.charCodeAt(p)===c&&++p),t.slice(r+1,e-1).replace(/""/g,'"')}for(;p=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},u=c=function(){function t(){}return t.forRoot=function(){return{ngModule:c,providers:[s.a]}},t}();u=c=a([n.i(r.NgModule)({imports:[i.CommonModule],declarations:[o.a],exports:[o.a]})],u);var c},l19J:function(t,e,n){"use strict";function r(t){return i.takeLast(t)(this)}var i=n("UwVZ");e.takeLast=r},lG2o:function(t,e,n){"use strict";n("C02A"),n("qiQ1"),n("pw0i"),n("3Ml1"),n("rwwP"),n("MLM7")},lH8s:function(t,e,n){"use strict";function r(t){this._context=t}var i=n("GtUv");r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,o=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,o):this._context.moveTo(r,o);break;case 3:this._point=4;default:n.i(i.b)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}}},lHsB:function(t,e,n){"use strict";function r(t,e,n){if(t){if(t instanceof i.Subscriber)return t;if(t[o.rxSubscriber])return t[o.rxSubscriber]()}return t||e||n?new i.Subscriber(t,e,n):new i.Subscriber(s.empty)}var i=n("mmVS"),o=n("r8ZY"),s=n("yrou");e.toSubscriber=r},lOED:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})})},lU4I:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e0&&this.destination.next(e),t.prototype._complete.call(this)},e}(o.Subscriber),u=function(t){function e(e,n,r){t.call(this,e),this.bufferSize=n,this.startBufferEvery=r,this.buffers=[],this.count=0}return i(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,r=e.startBufferEvery,i=e.buffers,o=e.count;this.count++,o%r==0&&i.push([]);for(var s=i.length;s--;){var a=i[s];a.push(t),a.length===n&&(i.splice(s,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this,n=e.buffers,r=e.destination;n.length>0;){var i=n.shift();i.length>0&&r.next(i)}t.prototype._complete.call(this)},e}(o.Subscriber)},lc9U:function(t,e,n){"use strict";function r(){return[]}e.a=function(t){return null==t?r:function(){return this.querySelectorAll(t)}}},lgiQ:function(t,e,n){"use strict";var r=n("Yh8Q");e.of=r.ArrayObservable.of},"lh/Z":function(t,e,n){"use strict";var r=n("rCTf"),i=n("3eju");r.Observable.webSocket=i.webSocket},lp2q:function(t,e,n){"use strict";function r(t){return new Date(t)}function i(t){return t instanceof Date?+t:+new Date(+t)}function o(t,e,v,g,b,w,M,S,T){function x(n){return(M(n)e?1:t>=e?0:NaN}var i=n("m0SH");e.a=function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=r);for(var n=this._groups,o=n.length,s=new Array(o),a=0;a0&&(i+=o[e]+"vatlh"),n>0&&(i+=(""!==i?" ":"")+o[n]+"maH"),r>0&&(i+=(""!==i?" ":"")+o[r]),""===i?"pagh":i}var o="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");return t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:e,past:n,s:"puS lup",ss:r,m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},mK7q:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e0?e:n}:function(t,e){return t>e?t:e};return i.reduce(e)}var i=n("dt7L");e.max=r},mvUh:function(t,e,n){"use strict";n("ao/A")},mxuF:function(t,e,n){"use strict";var r=n("mhxW"),i=n("itjg"),o=n("Y7ca"),s=n("kcX5"),a=n("UQZD");e.a=function(){function t(t){var e,i,o,s,a,y=t.length,_=!1,v=new Array(y),g=new Array(y);for(null==f&&(m=d(a=n.i(r.a)())),e=0;e<=y;++e){if(!(e=i;--o)m.point(v[o],g[o]);m.lineEnd(),m.areaEnd()}_&&(v[e]=+u(s,e,t),g[e]=+l(s,e,t),m.point(c?+c(s,e,t):v[e],p?+p(s,e,t):g[e]))}if(a)return m=null,a+""||null}function e(){return n.i(s.a)().defined(h).curve(d).context(f)}var u=a.a,c=null,l=n.i(i.a)(0),p=a.b,h=n.i(i.a)(!0),f=null,d=o.a,m=null;return t.x=function(e){return arguments.length?(u="function"==typeof e?e:n.i(i.a)(+e),c=null,t):u},t.x0=function(e){return arguments.length?(u="function"==typeof e?e:n.i(i.a)(+e),t):u},t.x1=function(e){return arguments.length?(c=null==e?null:"function"==typeof e?e:n.i(i.a)(+e),t):c},t.y=function(e){return arguments.length?(l="function"==typeof e?e:n.i(i.a)(+e),p=null,t):l},t.y0=function(e){return arguments.length?(l="function"==typeof e?e:n.i(i.a)(+e),t):l},t.y1=function(e){return arguments.length?(p=null==e?null:"function"==typeof e?e:n.i(i.a)(+e),t):p},t.lineX0=t.lineY0=function(){return e().x(u).y(l)},t.lineY1=function(){return e().x(u).y(p)},t.lineX1=function(){return e().x(c).y(l)},t.defined=function(e){return arguments.length?(h="function"==typeof e?e:n.i(i.a)(!!e),t):h},t.curve=function(e){return arguments.length?(d=e,null!=f&&(m=d(f)),t):d},t.context=function(e){return arguments.length?(null==e?f=m=null:m=d(f=e),t):f},t}},n2cJ:function(t,e,n){"use strict";function r(t,e){var r,i,o;return function(){var s=n.i(u.g)(this,t),a=(this.style.removeProperty(t),n.i(u.g)(this,t));return s===a?null:s===r&&a===i?o:o=e(r=s,i=a)}}function i(t){return function(){this.style.removeProperty(t)}}function o(t,e,r){var i,o;return function(){var s=n.i(u.g)(this,t);return s===r?null:s===i?o:o=e(i=s,r)}}function s(t,e,r){var i,o,s;return function(){var a=n.i(u.g)(this,t),c=r(this);return null==c&&(this.style.removeProperty(t),c=n.i(u.g)(this,t)),a===c?null:a===i&&c===o?s:s=e(i=a,o=c)}}var a=n("twHu"),u=n("9j4o"),c=n("w1HV"),l=n("wQ6E");e.a=function(t,e,u){var p="transform"==(t+="")?a.b:l.a;return null==e?this.styleTween(t,r(t,p)).on("end.style."+t,i(t)):this.styleTween(t,"function"==typeof e?s(t,p,n.i(c.b)(this,"style."+t,e)):o(t,p,e+""),u)}},nAKO:function(t,e,n){"use strict";e.a=function(t){for(var e,n,r,i=t.length,o=-1,s=0;++o=0;)for(r=t[i],e=r.length;--e>=0;)n[--s]=r[e];return n}},nDCe:function(t,e,n){"use strict";var r=n("rCTf"),i=n("PN3d");r.Observable.prototype.publishBehavior=i.publishBehavior},nE8X:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})})},nH7H:function(t,e,n){"use strict";e.a=function(t){return t}},nLOz:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];return t.defineLocale("gd",{months:e,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})})},nQNR:function(t,e,n){"use strict";var r=n("Mh8Z");e.a=function(t,e){var i,o,s=t.length,a=0,u=-1,c=0,l=0;if(null==e)for(;++u1)return l/(a-1)}},nS2h:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t,e,r,i){var o="";switch(r){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":return i?"sekunnin":"sekuntia";case"m":return i?"minuutin":"minuutti";case"mm":o=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":o=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":o=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":o=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":o=i?"vuoden":"vuotta"}return o=n(t,i)+" "+o}function n(t,e){return t<10?e?i[t]:r[t]:t}var r="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",r[7],r[8],r[9]];return t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},nSY4:function(t,e,n){"use strict";function r(t){var e=arguments.length,n=u.async;l.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new p(t,r,i,n))}}function i(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function o(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext(),a=this;r.closed||(r.add(o.closeAction=i.schedule(s,n,{subscriber:r,context:o})),a.schedule(t,e))}function s(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n("CGGv"),c=n("mmVS"),l=n("fWbP");e.bufferTime=r;var p=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),h=function(){function t(){this.buffer=[]}return t}(),f=function(t){function e(e,n,r,a,u){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=r,this.maxBufferSize=a,this.scheduler=u,this.contexts=[];var c=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly){var l={subscriber:this,context:c,bufferTimeSpan:n};this.add(c.closeAction=u.schedule(i,n,l))}else{var p={subscriber:this,context:c},h={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:this,scheduler:u};this.add(c.closeAction=u.schedule(s,n,p)),this.add(u.schedule(o,r,h))}}return a(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i0;){var i=n.shift();r.next(i.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(i,n,r))}},e.prototype.openContext=function(){var t=new h;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(c.Subscriber)},nYUX:function(t,e,n){"use strict";var r=n("s1g8"),i=n("YgQL"),o=n("7AZY");e.a={"":r.a,"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return n.i(o.a)(100*t,e)},r:o.a,s:i.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},niWE:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),function(n){return n.lift(new o(t,e))}}var i=n("ftJA");e.subscribeOn=r;var o=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new i.SubscribeOnObservable(e,this.delay,this.scheduler).subscribe(t)},t}()},nmlG:function(t,e,n){"use strict";function r(t,e,n){var r=t.x,i=t.y,o=e.r+n.r,s=t.r+n.r,a=e.x-r,u=e.y-i,c=a*a+u*u;if(c){var l=.5+((s*=s)-(o*=o))/(2*c),p=Math.sqrt(Math.max(0,2*o*(s+c)-(s-=c)*s-o*o))/(2*c);n.x=r+l*a+p*u,n.y=i+l*u-p*a}else n.x=r+s,n.y=i}function i(t,e){var n=e.x-t.x,r=e.y-t.y,i=t.r+e.r;return i*i-1e-6>n*n+r*r}function o(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,o=(e.y*n.r+n.y*e.r)/r;return i*i+o*o}function s(t){this._=t,this.next=null,this.previous=null}function a(t){if(!(l=t.length))return 0;var e,a,c,l,p,h,f,d,m,y,_;if(e=t[0],e.x=0,e.y=0,!(l>1))return e.r;if(a=t[1],e.x=-a.r,a.x=e.r,a.y=0,!(l>2))return e.r+a.r;r(a,e,c=t[2]),e=new s(e),a=new s(a),c=new s(c),e.next=c.previous=a,a.next=e.previous=c,c.next=a.previous=e;t:for(f=3;f=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,r){var i={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":t+" "+e(i[r],+t)}function r(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative}function i(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}return t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})})},o16J:function(t,e,n){"use strict";var r=n("9j4o"),i=n("8Q5I"),o=n("dxLE");r.f.prototype.interrupt=i.a,r.f.prototype.transition=o.a},o452:function(t,e,n){"use strict";var r=n("TyL3"),i=n.i(r.a)(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?n.i(r.a)(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):i:null},e.a=i;i.range},o5u5:function(t,e,n){"use strict";e.a=function(t){return t}},o6gY:function(t,e,n){"use strict";var r=n("XQvT");e.a=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(n.i(r.a)(e)/3)))-n.i(r.a)(Math.abs(t)))}},oBYf:function(t,e,n){"use strict";function r(t,e){return i.mergeMap(t,e,1)}var i=n("ANGw");e.concatMap=r},oCzW:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},oHQS:function(t,e,n){"use strict";var r=n("rCTf"),i=n("SudU");r.Observable.prototype.subscribeOn=i.subscribeOn},oUyF:function(t,e,n){"use strict";function r(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}e.a=r,r.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},oYA3:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})},oZkx:function(t,e,n){"use strict";function r(){return i.mergeAll(1)}var i=n("rKQy");e.concatAll=r},offc:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e0){var s=o.indexOf(n);-1!==s&&o.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.OuterSubscriber)},okk1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("bBiI");r.Observable.prototype.first=i.first},oo1B:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})})},ooba:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},"p+rS":function(t,e,n){"use strict";var r=n("bQZb");e.a=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.b.hasOwnProperty(e)?{space:r.b[e],local:t}:t}},"p/p0":function(t,e,n){"use strict";function r(t,e,n){return function(r){return r.lift(new a(t,e,n,r))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("F7Al");e.last=r;var a=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),u=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=i,this.source=o,this.hasValue=!1,this.index=0,void 0!==i&&(this.lastValue=i,this.hasValue=!0)}return i(e,t),e.prototype._next=function(t){var e=this.index++;if(this.predicate)this._tryPredicate(t,e);else{if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}if(n){if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this.lastValue=n,this.hasValue=!0},e.prototype._complete=function(){var t=this.destination;this.hasValue?(t.next(this.lastValue),t.complete()):t.error(new s.EmptyError)},e}(o.Subscriber)},p0EV:function(t,e,n){"use strict"},p1Um:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Ji1B");r.Observable.prototype.observeOn=i.observeOn},p1aI:function(t,e,n){"use strict";function r(t){return t>1?0:t<-1?f:Math.acos(t)}function i(t){return t>=1?d:t<=-1?-d:Math.asin(t)}n.d(e,"g",function(){return o}),n.d(e,"m",function(){return s}),n.d(e,"h",function(){return a}),n.d(e,"e",function(){return u}),n.d(e,"j",function(){return c}),n.d(e,"i",function(){return l}),n.d(e,"d",function(){return p}),n.d(e,"a",function(){return h}),n.d(e,"b",function(){return f}),n.d(e,"f",function(){return d}),n.d(e,"c",function(){return m}),e.l=r,e.k=i;var o=Math.abs,s=Math.atan2,a=Math.cos,u=Math.max,c=Math.min,l=Math.sin,p=Math.sqrt,h=1e-12,f=Math.PI,d=f/2,m=2*f},p1lA:function(t,e,n){"use strict";function r(t){this._curve=t}function i(t){function e(e){return new r(t(e))}return e._curve=t,e}var o=n("Y7ca");n.d(e,"b",function(){return s}),e.a=i;var s=i(o.a);r.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}}},"p5++":function(t,e,n){"use strict";function r(t){return i.single(t)(this)}var i=n("DZi2");e.single=r},pEQV:function(t,e,n){"use strict";e.a=function(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t}},pQeB:function(t,e,n){"use strict";function r(t,e){t*=k.g,e*=k.g;var r=n.i(k.c)(e);i(r*n.i(k.c)(t),r*n.i(k.d)(t),n.i(k.d)(e))}function i(t,e,n){++f,m+=(t-m)/f,y+=(e-y)/f,_+=(n-_)/f}function o(){O.point=s}function s(t,e){t*=k.g,e*=k.g;var r=n.i(k.c)(e);E=r*n.i(k.c)(t),C=r*n.i(k.d)(t),L=n.i(k.d)(e),O.point=a,i(E,C,L)}function a(t,e){t*=k.g,e*=k.g;var r=n.i(k.c)(e),o=r*n.i(k.c)(t),s=r*n.i(k.d)(t),a=n.i(k.d)(e),u=n.i(k.e)(n.i(k.n)((u=C*a-L*s)*u+(u=L*o-E*a)*u+(u=E*s-C*o)*u),E*o+C*s+L*a);d+=u,v+=u*(E+(E=o)),g+=u*(C+(C=s)),b+=u*(L+(L=a)),i(E,C,L)}function u(){O.point=r}function c(){O.point=p}function l(){h(T,x),O.point=r}function p(t,e){T=t,x=e,t*=k.g,e*=k.g,O.point=h;var r=n.i(k.c)(e);E=r*n.i(k.c)(t),C=r*n.i(k.d)(t),L=n.i(k.d)(e),i(E,C,L)}function h(t,e){t*=k.g,e*=k.g;var r=n.i(k.c)(e),o=r*n.i(k.c)(t),s=r*n.i(k.d)(t),a=n.i(k.d)(e),u=C*a-L*s,c=L*o-E*a,l=E*s-C*o,p=n.i(k.n)(u*u+c*c+l*l),h=n.i(k.f)(p),f=p&&-h/p;w+=f*u,M+=f*c,S+=f*l,d+=h,v+=h*(E+(E=o)),g+=h*(C+(C=s)),b+=h*(L+(L=a)),i(E,C,L)}var f,d,m,y,_,v,g,b,w,M,S,T,x,E,C,L,k=n("te0Z"),D=n("EXA9"),O=(n("S0TS"),{sphere:D.a,point:r,lineStart:o,lineEnd:u,polygonStart:function(){O.lineStart=c,O.lineEnd=l},polygonEnd:function(){O.lineStart=o,O.lineEnd=u}})},pSFt:function(t,e,n){"use strict";function r(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function i(t){return n.i(s.f)().transition(t)}function o(){return++T}var s=n("9j4o"),a=n("6JG2"),u=n("rJMC"),c=n("d/W9"),l=n("Ee5X"),p=n("CsmV"),h=n("+DfV"),f=n("Ticg"),d=n("ij82"),m=n("QQ5U"),y=n("v5Mo"),_=n("02vB"),v=n("a1VC"),g=n("n2cJ"),b=n("Ps5J"),w=n("6ECC"),M=n("0IGr"),S=n("w1HV");e.a=r,e.b=o;var T=0,x=s.f.prototype;r.prototype=i.prototype={constructor:r,select:y.a,selectAll:_.a,filter:h.a,merge:f.a,selection:v.a,transition:M.a,call:x.call,nodes:x.nodes,node:x.node,size:x.size,empty:x.empty,each:x.each,on:d.a,attr:a.a,attrTween:u.a,style:g.a,styleTween:b.a,text:w.a,remove:m.a,tween:S.a,delay:c.a,duration:l.a,ease:p.a}},pfs9:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};return t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})})},pgP5:function(t,e,n){"use strict";function r(t,e){return arguments.length>=2?i.reduce(t,e)(this):i.reduce(t)(this)}var i=n("dt7L");e.reduce=r},phYG:function(t,e,n){"use strict";var r=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var i=document.documentElement;if(!i.matches){var o=i.webkitMatchesSelector||i.msMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector;r=function(t){return function(){return o.call(this,t)}}}}e.a=r},piny:function(t,e,n){"use strict";function r(t,e,n){return 0===n?[e]:(t.push(e),t)}function i(){return o.reduce(r,[])}var o=n("dt7L");e.toArray=i},pl0b:function(t,e,n){"use strict";e.a=function(t){return arguments.length?this.property("__data__",t):this.node().__data__}},pqGq:function(t,e,n){"use strict";function r(){return g||(M(i),g=w.now()+b)}function i(){g=0}function o(){this._call=this._time=this._next=null}function s(t,e,n){var r=new o;return r.restart(t,e,n),r}function a(){r(),++d;for(var t,e=h;e;)(t=g-e._time)>=0&&e._call.call(null,t),e=e._next;--d}function u(){g=(v=w.now())+b,d=m=0;try{a()}finally{d=0,l(),g=0}}function c(){var t=w.now(),e=t-v;e>_&&(b-=e,v=t)}function l(){for(var t,e,n=h,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:h=e);f=t,p(r)}function p(t){if(!d){m&&(m=clearTimeout(m));t-g>24?(t<1/0&&(m=setTimeout(u,t-w.now()-b)),y&&(y=clearInterval(y))):(y||(v=w.now(),y=setInterval(c,_)),d=1,M(u))}}e.c=r,e.b=o,e.a=s;var h,f,d=0,m=0,y=0,_=1e3,v=0,g=0,b=0,w="object"==typeof performance&&performance.now?performance:Date,M="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};o.prototype=s.prototype={constructor:o,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?r():+n)+(null==e?0:+e),this._next||f===this||(f?f._next=this:h=this,f=this),this._call=t,this._time=n,p()},stop:function(){this._call&&(this._call=null,this._time=1/0,p())}}},pqdd:function(t,e,n){"use strict";function r(t,e){function r(t,e){var r=n.i(i.n)(u-2*a*n.i(i.d)(e))/a;return[r*n.i(i.d)(t*=a),c-r*n.i(i.c)(t)]}var o=n.i(i.d)(t),a=(o+n.i(i.d)(e))/2;if(n.i(i.o)(a)e.index?1:-1:t.delay>e.delay?1:-1},e}(i.AsyncAction);e.VirtualAction=a},q3ik:function(t,e,n){"use strict";var r=n("rCTf"),i=n("8hgl");r.Observable.prototype.distinctUntilChanged=i.distinctUntilChanged},"q4U+":function(t,e,n){"use strict";var r=n("rCTf"),i=n("erNO");r.Observable.prototype.windowCount=i.windowCount},qCvQ:function(t,e,n){"use strict"},qIte:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e=0;--e)i[e]=(s[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e1);return t+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(r.a)},qiws:function(t,e,n){"use strict";function r(t,e){return i.distinctUntilChanged(function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}var i=n("7MSh");e.distinctUntilKeyChanged=r},qoIZ:function(t,e,n){"use strict";function r(t,e){this._context=t,this._alpha=e}var i=n("Aju7"),o=n("dGt1");r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:n.i(o.a)(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};!function t(e){function n(t){return e?new r(t,e):new i.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},qp8k:function(t,e,n){"use strict";var r=n("rCTf"),i=n("A7JX");r.Observable.prototype.combineLatest=i.combineLatest},qumB:function(t,e,n){"use strict";function r(t){function e(t,e){return[t*r,n.i(i.d)(e)/r]}var r=n.i(i.c)(t);return e.invert=function(t,e){return[t/r,n.i(i.f)(e*r)]},e}var i=n("te0Z");e.a=r},qwZM:function(t,e,n){"use strict";e.a=function(){var t=[];return this.each(function(e){t.push(e)}),t}},qwbZ:function(t,e,n){"use strict";var r=(n("7q5P"),n("vTVC"),n("WE2G"));n.d(e,"a",function(){return r.a});n("vCz2"),n("C32e"),n("yez9")},r0UV:function(t,e,n){"use strict";n("1G7Q")},r4pm:function(t,e,n){"use strict";var r=n("Mh8Z");e.a=function(t,e,n){if(null==n&&(n=r.a),i=t.length){if((e=+e)<=0||i<2)return+n(t[0],0,t);if(e>=1)return+n(t[i-1],i-1,t);var i,o=(i-1)*e,s=Math.floor(o),a=+n(t[s],s,t);return a+(+n(t[s+1],s+1,t)-a)*(o-s)}}},r8ZY:function(t,e,n){"use strict";var r=n("VOfZ"),i=r.root.Symbol;e.rxSubscriber="function"==typeof i&&"function"==typeof i.for?i.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},rBiP:function(t,e,n){"use strict";var r=n("m0SH"),i=n("lc9U");e.a=function(t){"function"!=typeof t&&(t=n.i(i.a)(t));for(var e=this._groups,o=e.length,s=[],a=[],u=0;uS?Math.pow(t,1/3):t/M+b}function a(t){return t>w?t*t*t:M*(t-b)}function u(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function c(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function l(t){if(t instanceof h)return new h(t.h,t.c,t.l,t.opacity);t instanceof o||(t=r(t));var e=Math.atan2(t.b,t.a)*m.a;return new h(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function p(t,e,n,r){return 1===arguments.length?l(t):new h(t,e,n,null==r?1:r)}function h(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}var f=n("Ni2Y"),d=n("dSW5"),m=n("DI/l");e.b=i,e.a=p;var y=18,_=.95047,v=1,g=1.08883,b=4/29,w=6/29,M=3*w*w,S=w*w*w;n.i(f.a)(o,i,n.i(f.b)(d.d,{brighter:function(t){return new o(this.l+y*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new o(this.l-y*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return t=v*a(t),e=_*a(e),n=g*a(n),new d.b(u(3.2404542*e-1.5371385*t-.4985314*n),u(-.969266*e+1.8760108*t+.041556*n),u(.0556434*e-.2040259*t+1.0572252*n),this.opacity)}})),n.i(f.a)(h,p,n.i(f.b)(d.d,{brighter:function(t){return new h(this.h,this.c,this.l+y*(null==t?1:t),this.opacity)},darker:function(t){return new h(this.h,this.c,this.l-y*(null==t?1:t),this.opacity)},rgb:function(){return r(this).rgb()}}))},rKQy:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),i.mergeMap(o.identity,null,t)}var i=n("ANGw"),o=n("00YY");e.mergeAll=r},rKvG:function(t,e,n){"use strict";function r(t){this._context=t}var i=n("te0Z"),o=n("EXA9");e.a=r,r.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,i.b)}},result:o.a}},rLWm:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ASN6");r.Observable.prototype.onErrorResumeNext=i.onErrorResumeNext},rMsA:function(t,e,n){"use strict";n("kW7t"),n("RG/h"),n("f1wK")},rQAO:function(t,e,n){"use strict";function r(t,e,n,r,i){var o=t*t,s=o*t;return((1-3*t+3*o-s)*e+(4-6*o+3*s)*n+(1+3*t+3*o-3*s)*r+s*i)/6}e.b=r,e.a=function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[i],s=t[i+1],a=i>0?t[i-1]:2*o-s,u=i=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})})},rwwP:function(t,e,n){"use strict";var r=n("eiZK");e.a=function t(e){function n(t){return function(){for(var n=0,r=0;r0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t}},s3oX:function(t,e,n){"use strict";var r=n("Dkzu");e._throw=r.ErrorObservable.create},s616:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Kjxw");r.Observable.prototype.shareReplay=i.shareReplay},s6Ue:function(t,e,n){"use strict";function r(){y.point=i}function i(t,e){y.point=o,a=c=t,u=l=e}function o(t,e){m.add(l*t-c*e),c=t,l=e}function s(){o(a,u)}var a,u,c,l,p=n("Nsye"),h=n("te0Z"),f=n("EXA9"),d=n.i(p.a)(),m=n.i(p.a)(),y={point:f.a,lineStart:f.a,lineEnd:f.a,polygonStart:function(){y.lineStart=r,y.lineEnd=s},polygonEnd:function(){y.lineStart=y.lineEnd=y.point=f.a,d.add(n.i(h.o)(m)),m.reset()},result:function(){var t=d/2;return d.reset(),t}};e.a=y},s9yc:function(t,e,n){"use strict";e.a=function(t){return t}},sAZ4:function(t,e,n){"use strict";function r(t,e){return function(n){return n.lift(new a(t,e))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("wAkD"),s=n("CURp");e.switchMap=r;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return i(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(o.OuterSubscriber)},sAfY:function(t,e,n){"use strict";n("HfWN"),n("MvPe"),n("Mrl5"),n("Q5Vw"),n("hu4H"),n("5sXW"),n("7wGs"),n("BASm")},sIYO:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("EEr4"),o=n("rCTf"),s=n("mmVS"),a=n("B00U"),u=n("9dR0"),c=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return r(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,t=this._connection=new a.Subscription,t.add(this.source.subscribe(new p(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return u.refCount()(this)},e}(o.Observable);e.ConnectableObservable=c;var l=c.prototype;e.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:l._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}};var p=function(t){function e(e,n){t.call(this,e),this.connectable=n}return r(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.SubjectSubscriber),h=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new h(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}(),function(t){function e(e,n){t.call(this,e),this.connectable=n}return r(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(!t)return void(this.connection=null);this.connectable=null;var e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(s.Subscriber))},sJ7x:function(t,e,n){"use strict";var r=n("rz0Y");e.a=function(t,e){var i,o=e?e.length:0,s=t?Math.min(o,t.length):0,a=new Array(s),u=new Array(o);for(i=0;i1?this.each((null==e?r:"function"==typeof e?o:i)(t,e,null==n?"":n)):s(this.node(),t)}},sXvE:function(t,e,n){"use strict";e.a=function(t,e,n,r,i,o){var s,a=t[0],u=t[1],c=e[0],l=e[1],p=0,h=1,f=c-a,d=l-u;if(s=n-a,f||!(s>0)){if(s/=f,f<0){if(s0){if(s>h)return;s>p&&(p=s)}if(s=i-a,f||!(s<0)){if(s/=f,f<0){if(s>h)return;s>p&&(p=s)}else if(f>0){if(s0)){if(s/=d,d<0){if(s0){if(s>h)return;s>p&&(p=s)}if(s=o-u,d||!(s<0)){if(s/=d,d<0){if(s>h)return;s>p&&(p=s)}else if(d>0){if(s0&&(t[0]=a+p*f,t[1]=u+p*d),h<1&&(e[0]=a+h*f,e[1]=u+h*d),!0}}}}}},sake:function(t,e,n){"use strict";function r(t){return i.skipWhile(t)(this)}var i=n("prqh");e.skipWhile=r},"sb+e":function(t,e,n){"use strict";function r(t){return t(this)}e.letProto=r},sm41:function(t,e,n){"use strict";e.a=function(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o=n)for(r=n;++on&&(r=n)}else for(;++o=n)for(r=n;++on&&(r=n);return r}},sqLM:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},ssxj:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t){return t>1&&t<5&&1!=~~(t/10)}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"pár sekund":"pár sekundami";case"ss":return n||i?o+(e(t)?"sekundy":"sekund"):o+"sekundami";case"m":return n?"minuta":i?"minutu":"minutou";case"mm":return n||i?o+(e(t)?"minuty":"minut"):o+"minutami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(e(t)?"hodiny":"hodin"):o+"hodinami";case"d":return n||i?"den":"dnem";case"dd":return n||i?o+(e(t)?"dny":"dní"):o+"dny";case"M":return n||i?"měsíc":"měsícem";case"MM":return n||i?o+(e(t)?"měsíce":"měsíců"):o+"měsíci";case"y":return n||i?"rok":"rokem";case"yy":return n||i?o+(e(t)?"roky":"let"):o+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),o=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],s=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;return t.defineLocale("cs",{months:r,monthsShort:i,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},svD2:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};return t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},t2Bb:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=i.async),o.sampleTime(t,e)(this)}var i=n("CGGv"),o=n("Lb3r");e.sampleTime=r},t2qv:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("jBEF"),s=n("Xajo"),a=n("CURp"),u=n("wAkD"),c=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return r(e,t),e.create=function(){for(var t=[],n=0;nl.b||Math.abs(b-_)>l.b)&&(f.splice(h,0,l.d.push(n.i(c.b)(p,v,Math.abs(g-t)l.b?[t,Math.abs(y-t)l.b?[Math.abs(_-i)l.b?[r,Math.abs(y-r)l.b?[Math.abs(_-e)m&&(m=l),g=f*f*v,(y=Math.max(m/g,g/d))>_){f-=l;break}_=y}b.push(c={value:f,dice:p1?e:1)},n}(s)},tYwL:function(t,e,n){"use strict";var r=n("rCTf"),i=n("AQOC");r.Observable.prototype.distinctUntilKeyChanged=i.distinctUntilKeyChanged},td8d:function(t,e,n){"use strict";function r(t,e){return arguments.length>=2?i.scan(t,e)(this):i.scan(t)(this)}var i=n("UYy0");e.scan=r},te0Z:function(t,e,n){"use strict";function r(t){return t>1?0:t<-1?u:Math.acos(t)}function i(t){return t>1?c:t<-1?-c:Math.asin(t)}function o(t){return(t=M(t/2))*t}n.d(e,"p",function(){return s}),n.d(e,"w",function(){return a}),n.d(e,"a",function(){return u}),n.d(e,"k",function(){return c}),n.d(e,"q",function(){return l}),n.d(e,"b",function(){return p}),n.d(e,"h",function(){return h}),n.d(e,"g",function(){return f}),n.d(e,"o",function(){return d}),n.d(e,"l",function(){return m}),n.d(e,"e",function(){return y}),n.d(e,"c",function(){return _}),n.d(e,"v",function(){return v}),n.d(e,"m",function(){return g}),n.d(e,"i",function(){return b}),n.d(e,"t",function(){return w}),n.d(e,"d",function(){return M}),n.d(e,"s",function(){return S}),n.d(e,"n",function(){return T}),n.d(e,"j",function(){return x}),e.r=r,e.f=i,e.u=o;var s=1e-6,a=1e-12,u=Math.PI,c=u/2,l=u/4,p=2*u,h=180/u,f=u/180,d=Math.abs,m=Math.atan,y=Math.atan2,_=Math.cos,v=Math.ceil,g=Math.exp,b=(Math.floor,Math.log),w=Math.pow,M=Math.sin,S=Math.sign||function(t){return t>0?1:t<0?-1:0},T=Math.sqrt,x=Math.tan},tefl:function(t,e,n){"use strict";var r=n("NgUg");e.pairs=r.PairsObservable.create},tgfP:function(t,e,n){"use strict";function r(t,e){return function(n){return t+n*e}}function i(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function o(t,e){var i=e-t;return i?r(t,i>180||i<-180?i-360*Math.round(i/360):i):n.i(u.a)(isNaN(t)?e:t)}function s(t){return 1==(t=+t)?a:function(e,r){return r-e?i(e,r,t):n.i(u.a)(isNaN(e)?r:e)}}function a(t,e){var i=e-t;return i?r(t,i):n.i(u.a)(isNaN(t)?e:t)}var u=n("v7aS");e.b=o,e.c=s,e.a=a},tkWw:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})})},tn1n:function(t,e,n){"use strict";function r(t,e){return i.partition(t,e)(this)}var i=n("PYDO");e.partition=r},"tnr/":function(t,e,n){"use strict";e.a=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}},tr2l:function(t,e,n){"use strict";function r(t){return o=n.i(i.a)(t),s=o.format,a=o.parse,u=o.utcFormat,c=o.utcParse,o}var i=n("0LsD");n.d(e,"c",function(){return s}),n.d(e,"b",function(){return u}),n.d(e,"a",function(){return c});var o,s,a,u,c;r({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},tuHt:function(t,e,n){"use strict";var r=n("rCTf"),i=n("SDFq");r.Observable.prototype.switchMapTo=i.switchMapTo},tv0o:function(t,e,n){"use strict";n("FWOU"),n("iqiA")},twHu:function(t,e,n){"use strict";var r=n("rz0Y");n.d(e,"g",function(){return r.a});var i=(n("sJ7x"),n("rQAO"),n("XE1u"),n("0njE"),n("UpXs"));n.d(e,"c",function(){return i.a});var o=(n("pt2+"),n("OzNc"));n.d(e,"h",function(){return o.a});var s=n("V4qq");n.d(e,"e",function(){return s.a});var a=n("ygWn");n.d(e,"b",function(){return a.a}),n.d(e,"f",function(){return a.b});var u=n("XOQ7");n.d(e,"a",function(){return u.a});var c=n("0gay");n.d(e,"d",function(){return c.a});var l=(n("/BWw"),n("RhDQ"),n("2knm"),n("aK9X"));n.d(e,"i",function(){return l.a});n("j8a9")},tyXZ:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=i.async),o.map(function(e){return new s(e,t.now())})}var i=n("CGGv"),o=n("9omE");e.timestamp=r;var s=function(){function t(t,e){this.value=t,this.timestamp=e}return t}();e.Timestamp=s},tzHd:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})})},"u/VN":function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=i.defaultThrottleConfig),i.throttle(t,e)(this)}var i=n("IsV2");e.throttle=r},u1gx:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rCTf"),o=n("8GmM"),s=n("Cr1h"),a=n("IBkQ"),u=n("fO1r"),c=n("q0UB"),l=750,p=function(t){function e(e){t.call(this,c.VirtualAction,l),this.assertDeepEqual=e,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return r(e,t),e.prototype.createTime=function(t){var n=t.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*e.frameTimeFactor},e.prototype.createColdObservable=function(t,n,r){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,n,r),o=new s.ColdObservable(i,this);return this.coldObservables.push(o),o},e.prototype.createHotObservable=function(t,n,r){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,n,r),o=new a.HotObservable(i,this);return this.hotObservables.push(o),o},e.prototype.materializeInnerObservable=function(t,e){var n=this,r=[];return t.subscribe(function(t){r.push({frame:n.frame-e,notification:o.Notification.createNext(t)})},function(t){r.push({frame:n.frame-e,notification:o.Notification.createError(t)})},function(){r.push({frame:n.frame-e,notification:o.Notification.createComplete()})}),r},e.prototype.expectObservable=function(t,n){var r=this;void 0===n&&(n=null);var s,a=[],u={actual:a,ready:!1},c=e.parseMarblesAsSubscriptions(n).unsubscribedFrame;return this.schedule(function(){s=t.subscribe(function(t){var e=t;t instanceof i.Observable&&(e=r.materializeInnerObservable(e,r.frame)),a.push({frame:r.frame,notification:o.Notification.createNext(e)})},function(t){a.push({frame:r.frame,notification:o.Notification.createError(t)})},function(){a.push({frame:r.frame,notification:o.Notification.createComplete()})})},0),c!==Number.POSITIVE_INFINITY&&this.schedule(function(){return s.unsubscribe()},c),this.flushTests.push(u),{toBe:function(t,n,r){u.ready=!0,u.expected=e.parseMarbles(t,n,r,!0)}}},e.prototype.expectSubscriptions=function(t){var n={actual:t,ready:!1};return this.flushTests.push(n),{toBe:function(t){var r="string"==typeof t?[t]:t;n.ready=!0,n.expected=r.map(function(t){return e.parseMarblesAsSubscriptions(t)})}}},e.prototype.flush=function(){for(var e=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var r=n.shift();this.assertDeepEqual(r.actual,r.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new u.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,r=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,o=0;o-1?n:s;break;case"!":if(i!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=n>-1?n:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return i<0?new u.SubscriptionLog(r):new u.SubscriptionLog(r,i)},e.parseMarbles=function(t,e,n,r){if(void 0===r&&(r=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var i=t.length,a=[],u=t.indexOf("^"),c=-1===u?0:u*-this.frameTimeFactor,l="object"!=typeof e?function(t){return t}:function(t){return r&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},p=-1,h=0;h-1?p:f,notification:d})}return a},e}(c.VirtualTimeScheduler);e.TestScheduler=p},u2wr:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e=0?1:-1,o=i*r,s=n.i(u.c)(e),a=n.i(u.d)(e),c=d*a,l=f*s+c*n.i(u.c)(o),p=c*i*n.i(u.d)(o);m.add(n.i(u.e)(p,l)),h=t,f=s,d=a}var a=n("Nsye"),u=n("te0Z"),c=n("EXA9");n("S0TS");n.d(e,"b",function(){return m}),n.d(e,"a",function(){return _});var l,p,h,f,d,m=n.i(a.a)(),y=n.i(a.a)(),_={point:c.a,lineStart:c.a,lineEnd:c.a,polygonStart:function(){m.reset(),_.lineStart=r,_.lineEnd=i},polygonEnd:function(){var t=+m;y.add(t<0?u.b+t:t),this.lineStart=this.lineEnd=this.point=c.a},sphere:function(){y.add(u.b)}}},ujcs:function(t,e){e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,u=(1<>1,l=-7,p=n?i-1:0,h=n?-1:1,f=t[e+p];for(p+=h,o=f&(1<<-l)-1,f>>=-l,l+=a;l>0;o=256*o+t[e+p],p+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+t[e+p],p+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,r),o-=c}return(f?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,u,c=8*o-i-1,l=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,d=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),e+=s+p>=1?h/u:h*Math.pow(2,1-p),e*u>=2&&(s++,u/=2),s+p>=l?(a=0,s=l):s+p>=1?(a=(e*u-1)*Math.pow(2,i),s+=p):(a=e*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;t[n+f]=255&a,f+=d,a/=256,i-=8);for(s=s<0;t[n+f]=255&s,f+=d,s/=256,c-=8);t[n+f-d]|=128*m}},ulq9:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t,e){var n=t.split("_");return e%10==1&&e%100!=11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,r){var i={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":t+" "+e(i[r],+t)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];return t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})})},upln:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return e(t)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return e(t)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return e(t)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return e(t)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}return t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},utuw:function(t,e,n){"use strict";function r(){this._=null}function i(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function o(t,e){var n=e,r=e.R,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function s(t,e){var n=e,r=e.L,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function a(t){for(;t.L;)t=t.L;return t}e.b=i,r.prototype={constructor:r,insert:function(t,e){var n,r,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=a(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)r=n.U,n===r.L?(i=r.R,i&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.R&&(o(this,n),t=n,n=t.U),n.C=!1,r.C=!0,s(this,r))):(i=r.L,i&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.L&&(s(this,n),t=n,n=t.U),n.C=!1,r.C=!0,o(this,r))),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,i=t.U,u=t.L,c=t.R;if(n=u?c?a(c):u:c,i?i.L===t?i.L=n:i.R=n:this._=n,u&&c?(r=n.C,n.C=t.C,n.L=u,u.U=n,n!==c?(i=n.U,n.U=t.U,t=n.R,i.L=t,n.R=c,c.U=n):(n.U=i,i=n,t=n.R)):(r=t.C,t=n),t&&(t.U=i),!r){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if(e=i.R,e.C&&(e.C=!1,i.C=!0,o(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,s(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,o(this,i),t=this._;break}}else if(e=i.L,e.C&&(e.C=!1,i.C=!0,s(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,o(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,s(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}},e.a=r},v08i:function(t,e,n){"use strict";n("PWpI")},v5Mo:function(t,e,n){"use strict";var r=n("9j4o"),i=n("pSFt"),o=n("9IlT");e.a=function(t){var e=this._name,s=this._id;"function"!=typeof t&&(t=n.i(r.k)(t));for(var a=this._groups,u=a.length,c=new Array(u),l=0;l=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(){function t(t,e){this.router=t,this.breadcrumbService=e,this.useBootstrap=!0,this.prefix=""}return t.prototype.ngOnInit=function(){var t=this;this._urls=new Array,this.prefix.length>0&&this._urls.unshift(this.prefix),this._routerSubscription=this.router.events.subscribe(function(e){e instanceof i.c&&(t._urls.length=0,t.generateBreadcrumbTrail(e.urlAfterRedirects?e.urlAfterRedirects:e.url))})},t.prototype.ngOnChanges=function(t){this._urls&&(this._urls.length=0,this.generateBreadcrumbTrail(this.router.url))},t.prototype.generateBreadcrumbTrail=function(t){this.breadcrumbService.isRouteHidden(t)||this._urls.unshift(t),t.lastIndexOf("/")>0?this.generateBreadcrumbTrail(t.substr(0,t.lastIndexOf("/"))):this.prefix.length>0&&this._urls.unshift(this.prefix)},t.prototype.navigateTo=function(t){this.router.navigateByUrl(t)},t.prototype.friendlyName=function(t){return t?this.breadcrumbService.getFriendlyNameForRoute(t):""},t.prototype.ngOnDestroy=function(){this._routerSubscription.unsubscribe()},t}();s([n.i(r.Input)(),a("design:type",Boolean)],u.prototype,"useBootstrap",void 0),s([n.i(r.Input)(),a("design:type",String)],u.prototype,"prefix",void 0),u=s([n.i(r.Component)({selector:"breadcrumb",template:'\n \n '}),a("design:paramtypes",["function"==typeof(c=void 0!==i.b&&i.b)&&c||Object,"function"==typeof(l=void 0!==o.a&&o.a)&&l||Object])],u);var c,l},vCz2:function(t,e,n){"use strict"},vMwp:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3j3K"),i=n("EEr4"),o=n("9CLG"),s=function(){function t(){this.emitter=new i.Subject,this.icons=o.defaultIcons}return t.prototype.set=function(t,e){return t.id=t.override&&t.override.id?t.override.id:Math.random().toString(36).substring(3),t.click=new r.EventEmitter,this.emitter.next({command:"set",notification:t,add:e}),t},t.prototype.getChangeEmitter=function(){return this.emitter},t.prototype.success=function(t,e,n){return this.set({title:t,content:e||"",type:"success",icon:this.icons.success,override:n},!0)},t.prototype.error=function(t,e,n){return this.set({title:t,content:e||"",type:"error",icon:this.icons.error,override:n},!0)},t.prototype.alert=function(t,e,n){return this.set({title:t,content:e||"",type:"alert",icon:this.icons.alert,override:n},!0)},t.prototype.info=function(t,e,n){return this.set({title:t,content:e||"",type:"info",icon:this.icons.info,override:n},!0)},t.prototype.warn=function(t,e,n){return this.set({title:t,content:e||"",type:"warn",icon:this.icons.warn,override:n},!0)},t.prototype.bare=function(t,e,n){return this.set({title:t,content:e||"",type:"bare",icon:"bare",override:n},!0)},t.prototype.create=function(t,e,n,r){return void 0===e&&(e=""),void 0===n&&(n="success"),this.set({title:t,content:e,type:n,icon:this.icons[n],override:r},!0)},t.prototype.html=function(t,e,n){return void 0===e&&(e="success"),this.set({html:t,type:e,icon:"bare",override:n},!0)},t.prototype.remove=function(t){t?this.emitter.next({command:"clean",id:t}):this.emitter.next({command:"cleanAll"})},t}();s.decorators=[{type:r.Injectable}],s.ctorParameters=function(){return[]},e.NotificationsService=s},vOiT:function(t,e,n){"use strict";var r=n("5XsR");e.a=function(t,e){return function(i,o){var s=n.i(r.a)(i).mimeType(t).response(e);if(null!=o){if("function"!=typeof o)throw new Error("invalid callback: "+o);return s.get(o)}return s}}},"vQ+N":function(t,e,n){"use strict";var r=n("rCTf"),i=n("mQmC");r.Observable.using=i.using},vRdb:function(t,e,n){"use strict";function r(t,e){return[t>c.a?t-c.b:t<-c.a?t+c.b:t,e]}function i(t,e,i){return(t%=c.b)?e||i?n.i(u.a)(s(t),a(e,i)):s(t):e||i?a(e,i):r}function o(t){return function(e,n){return e+=t,[e>c.a?e-c.b:e<-c.a?e+c.b:e,n]}}function s(t){var e=o(t);return e.invert=o(-t),e}function a(t,e){function r(t,e){var r=n.i(c.c)(e),u=n.i(c.c)(t)*r,l=n.i(c.d)(t)*r,p=n.i(c.d)(e),h=p*i+u*o;return[n.i(c.e)(l*s-h*a,u*i-p*o),n.i(c.f)(h*s+l*a)]}var i=n.i(c.c)(t),o=n.i(c.d)(t),s=n.i(c.c)(e),a=n.i(c.d)(e);return r.invert=function(t,e){var r=n.i(c.c)(e),u=n.i(c.c)(t)*r,l=n.i(c.d)(t)*r,p=n.i(c.d)(e),h=p*s-l*a;return[n.i(c.e)(l*s+p*a,u*i+h*o),n.i(c.f)(h*i-u*o)]},r}var u=n("0o4c"),c=n("te0Z");e.b=i,r.invert=r,e.a=function(t){function e(e){return e=t(e[0]*c.g,e[1]*c.g),e[0]*=c.h,e[1]*=c.h,e}return t=i(t[0]*c.g,t[1]*c.g,t.length>2?t[2]*c.g:0),e.invert=function(e){return e=t.invert(e[0]*c.g,e[1]*c.g),e[0]*=c.h,e[1]*=c.h,e},e}},vTVC:function(t,e,n){"use strict";function r(){}function i(t,e){var n=new r;if(t instanceof r)t.each(function(t){n.add(t)});else if(t){var i=-1,o=t.length;if(null==e)for(;++i0?n.i(r.a)(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null},e.a=i;i.range},w2Hs:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};return t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})})},w2I0:function(t,e,n){"use strict";e.a=function(t,e,n){this.target=t,this.type=e,this.selection=n}},wAkD:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("mmVS"),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(i.Subscriber);e.OuterSubscriber=o},wEKP:function(t,e,n){"use strict";n("p1lA"),n("mxuF"),n("Lfp8")},wIgY:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";return t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})})},wL6i:function(t,e,n){"use strict";var r=n("GBmp");e.a=function(){for(var t,e=r.a;t=e.sourceEvent;)e=t;return e}},wPpW:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(e,i,o,s){var a=n(e),u=r[t][n(e)];return 2===a&&(u=u[i?0:1]),u.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},wQ6E:function(t,e,n){"use strict";var r=n("afsG"),i=n("twHu");e.a=function(t,e){var o;return("number"==typeof e?i.c:e instanceof r.a?i.d:(o=n.i(r.a)(e))?(e=o,i.d):i.e)(t,e)}},wT5f:function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t,e,n){var r={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},i=" ";return(t%100>=20||t>=100&&t%100==0)&&(i=" de "),t+i+r[n]}return t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})})},wUn1:function(t,e,n){"use strict";var r=n("rCTf"),i=n("ack3");r.Observable.prototype.filter=i.filter},whnk:function(t,e,n){"use strict";function r(t,e){var n,r,i,s,c,l=new u(t),p=+t.value&&(l.value=t.value),h=[l];for(null==e&&(e=o);n=h.pop();)if(p&&(n.value=+n.data.value),(i=e(n.data))&&(c=i.length))for(n.children=new Array(c),s=c-1;s>=0;--s)h.push(r=n.children[s]=new u(i[s])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(a)}function i(){return r(this).eachBefore(s)}function o(t){return t.children}function s(t){t.data=t.data.data}function a(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function u(t){this.data=t,this.depth=this.height=0,this.parent=null}var c=n("Ysd8"),l=n("7ta7"),p=n("73Ah"),h=n("RiDg"),f=n("YyuB"),d=n("bDpb"),m=n("CKE5"),y=n("4BmD"),_=n("qwZM"),v=n("idJc"),g=n("/O5t");e.b=a,e.a=u,u.prototype=r.prototype={constructor:u,count:c.a,each:l.a,eachAfter:h.a,eachBefore:p.a,sum:f.a,sort:d.a,path:m.a,ancestors:y.a,descendants:_.a,leaves:v.a,links:g.a,copy:i}},wu5z:function(t,e,n){"use strict";function r(){return null}var i=n("FWOU"),o=n("OJKR");e.a=function(t,e){var s="function"==typeof t?t:n.i(i.a)(t),a=null==e?r:"function"==typeof e?e:n.i(o.a)(e);return this.select(function(){return this.insertBefore(s.apply(this,arguments),a.apply(this,arguments)||null)})}},ww7A:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("9Avi"),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,a=0;a=0&&u%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var c=new s.Subject;i.push(c),n.next(c)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(o.Subscriber)},xOQQ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("U9ky");r.Observable.prototype.pluck=i.pluck},xU3k:function(t,e,n){"use strict";var r=n("XQvT");e.a=function(t){return Math.max(0,-n.i(r.a)(Math.abs(t)))}},xWe9:function(t,e,n){"use strict";n("lp2q"),n("0OXJ"),n("znN+")},xXxL:function(t,e,n){"use strict";e.a=function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}},xYP1:function(t,e,n){"use strict";function r(t,e){return i.sequenceEqual(t,e)(this)}var i=n("A3ES");e.sequenceEqual=r},xazO:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=-1),function(e){return 0===t?new s.EmptyObservable:t<0?e.lift(new a(-1,e)):e.lift(new a(t-1,e))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("jBEF");e.repeat=r;var a=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.count,this.source))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return i(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this,n=e.source,r=e.count;if(0===r)return t.prototype.complete.call(this);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(o.Subscriber)},"xne+":function(t,e,n){!function(t,e){e(n("PJh5"))}(0,function(t){"use strict";function e(t,e,n,r){var i=t;switch(n){case"s":return r||e?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||e)?" másodperc":" másodperce";case"m":return"egy"+(r||e?" perc":" perce");case"mm":return i+(r||e?" perc":" perce");case"h":return"egy"+(r||e?" óra":" órája");case"hh":return i+(r||e?" óra":" órája");case"d":return"egy"+(r||e?" nap":" napja");case"dd":return i+(r||e?" nap":" napja");case"M":return"egy"+(r||e?" hónap":" hónapja");case"MM":return i+(r||e?" hónap":" hónapja");case"y":return"egy"+(r||e?" év":" éve");case"yy":return i+(r||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+r[this.day()]+"] LT[-kor]"}var r="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");return t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},"xx+E":function(t,e,n){"use strict";function r(t){return function(e){return e.lift(new l(t))}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("B00U"),s=n("+3eL"),a=n("WhVc"),u=n("wAkD"),c=n("CURp");e.bufferWhen=r;var l=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.closingSelector))},t}(),p=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return i(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,r,i){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e=this.buffer;this.buffer&&this.destination.next(e),this.buffer=[];var n=s.tryCatch(this.closingSelector)();n===a.errorObject?this.error(a.errorObject.e):(t=new o.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(c.subscribeToResult(this,n)),this.subscribing=!1)},e}(u.OuterSubscriber)},"y/pu":function(t,e,n){"use strict";n("kW7t"),n("te0Z")},y3IE:function(t,e,n){"use strict";var r=n("rCTf"),i=n("vrkH");r.Observable.prototype.retry=i.retry},y4xv:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},yYTm:function(t,e,n){"use strict";n("ATuW"),n("AttI"),n("te0Z")},yZjU:function(t,e,n){"use strict";function r(t,e){return i.windowToggle(t,e)(this)}var i=n("ashs");e.windowToggle=r},yez9:function(t,e,n){"use strict"},ygD2:function(t,e,n){"use strict";function r(){return function(t){return t.lift(new a)}}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("mmVS"),s=n("YOd+");e.ignoreElements=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype._next=function(t){s.noop()},e}(o.Subscriber)},ygWn:function(t,e,n){"use strict";function r(t,e,r,o){function s(t){return t.length?t.pop()+" ":""}function a(t,o,s,a,u,c){if(t!==s||o!==a){var l=u.push("translate(",null,e,null,r);c.push({i:l-4,x:n.i(i.a)(t,s)},{i:l-2,x:n.i(i.a)(o,a)})}else(s||a)&&u.push("translate("+s+e+a+r)}function u(t,e,r,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:r.push(s(r)+"rotate(",null,o)-2,x:n.i(i.a)(t,e)})):e&&r.push(s(r)+"rotate("+e+o)}function c(t,e,r,a){t!==e?a.push({i:r.push(s(r)+"skewX(",null,o)-2,x:n.i(i.a)(t,e)}):e&&r.push(s(r)+"skewX("+e+o)}function l(t,e,r,o,a,u){if(t!==r||e!==o){var c=a.push(s(a)+"scale(",null,",",null,")");u.push({i:c-4,x:n.i(i.a)(t,r)},{i:c-2,x:n.i(i.a)(e,o)})}else 1===r&&1===o||a.push(s(a)+"scale("+r+","+o+")")}return function(e,n){var r=[],i=[];return e=t(e),n=t(n),a(e.translateX,e.translateY,n.translateX,n.translateY,r,i),u(e.rotate,n.rotate,r,i),c(e.skewX,n.skewX,r,i),l(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,i),e=n=null,function(t){for(var e,n=-1,o=i.length;++n=10;)t/=10;return i(t)}return t/=1e3,i(t)}return t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},z5ig:function(t,e,n){"use strict";n("G19e"),n("YPGh")},z6Jc:function(t,e,n){"use strict"},z8iQ:function(t,e,n){"use strict";e.a=function(t){return new Array(t.length)}},z8il:function(t,e,n){"use strict";var r=n("MdAk");n.i(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},zBcb:function(t,e,n){"use strict";function r(t){return function(e){var n=new i;for(var r in t)n[r]=t[r];return n.stream=e,n}}function i(){}e.a=r;i.prototype={constructor:i,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},zC23:function(t,e,n){"use strict";var r=n("rCTf"),i=n("Oa+j");r.Observable.prototype.dematerialize=i.dematerialize},zGy4:function(t,e,n){"use strict";n("QYF+"),n("u54n"),n("eiXi"),n("Mlh9")},zJQZ:function(t,e,n){"use strict";var r=n("rCTf"),i=n("td8d");r.Observable.prototype.scan=i.scan},zO2v:function(t,e,n){"use strict";var r=n("rCTf"),i=n("DzMp");r.Observable.defer=i.defer},zQPq:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("B00U"),o=function(t){function e(e,n){t.call(this)}return r(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(i.Subscription);e.Action=o},zW0j:function(t,e,n){"use strict";var r=n("ksmi");n.d(e,"a",function(){return o});var i=n.i(r.a)(","),o=i.parse;i.parseRows,i.format,i.formatRows},zctS:function(t,e,n){"use strict";function r(t){return t[1]}e.a=r,e.b=function(t){return arguments.length?(this._y=t,this):this._y}},"zg+6":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3j3K"),i=n("Um43"),o=n("Qbdm"),s=n("vMwp"),a=function(){function t(t,e,n){var r=this;this.notificationService=t,this.domSanitizer=e,this.zone=n,this.progressWidth=0,this.stopTime=!1,this.count=0,this.instance=function(){r.zone.runOutsideAngular(function(){r.zone.run(function(){return r.diff=(new Date).getTime()-r.start-r.count*r.speed}),r.count++===r.steps?r.zone.run(function(){return r.remove()}):r.stopTime||(r.showProgressBar&&r.zone.run(function(){return r.progressWidth+=100/r.steps}),r.timer=setTimeout(r.instance,r.speed-r.diff))})}}return t.prototype.ngOnInit=function(){this.item.override&&this.attachOverrides(),this.animate&&(this.item.state=this.animate),0!==this.timeOut&&this.startTimeOut(),this.safeSvg=this.domSanitizer.bypassSecurityTrustHtml(this.icon||this.item.icon)},t.prototype.startTimeOut=function(){var t=this;this.steps=this.timeOut/10,this.speed=this.timeOut/this.steps,this.start=(new Date).getTime(),this.zone.runOutsideAngular(function(){return t.timer=setTimeout(t.instance,t.speed)})},t.prototype.onEnter=function(){this.pauseOnHover&&(this.stopTime=!0)},t.prototype.onLeave=function(){this.pauseOnHover&&(this.stopTime=!1,setTimeout(this.instance,this.speed-this.diff))},t.prototype.setPosition=function(){return 0!==this.position?90*this.position:0},t.prototype.onClick=function(t){this.item.click.emit(t),this.clickToClose&&this.remove()},t.prototype.attachOverrides=function(){var t=this;Object.keys(this.item.override).forEach(function(e){t.hasOwnProperty(e)&&(t[e]=t.item.override[e])})},t.prototype.ngOnDestroy=function(){clearTimeout(this.timer)},t.prototype.remove=function(){var t=this;this.animate?(this.item.state=this.animate+"Out",this.zone.runOutsideAngular(function(){setTimeout(function(){t.zone.run(function(){return t.notificationService.set(t.item,!1)})},310)})):this.notificationService.set(this.item,!1)},t}();a.decorators=[{type:r.Component,args:[{selector:"simple-notification",encapsulation:r.ViewEncapsulation.None,animations:[i.trigger("enterLeave",[i.state("fromRight",i.style({opacity:1,transform:"translateX(0)"})),i.transition("* => fromRight",[i.style({opacity:0,transform:"translateX(5%)"}),i.animate("400ms ease-in-out")]),i.state("fromRightOut",i.style({opacity:0,transform:"translateX(-5%)"})),i.transition("fromRight => fromRightOut",[i.style({opacity:1,transform:"translateX(0)"}),i.animate("300ms ease-in-out")]),i.state("fromLeft",i.style({opacity:1,transform:"translateX(0)"})),i.transition("* => fromLeft",[i.style({opacity:0,transform:"translateX(-5%)"}),i.animate("400ms ease-in-out")]),i.state("fromLeftOut",i.style({opacity:0,transform:"translateX(5%)"})),i.transition("fromLeft => fromLeftOut",[i.style({opacity:1,transform:"translateX(0)"}),i.animate("300ms ease-in-out")]),i.state("scale",i.style({opacity:1,transform:"scale(1)"})),i.transition("* => scale",[i.style({opacity:0,transform:"scale(0)"}),i.animate("400ms ease-in-out")]),i.state("scaleOut",i.style({opacity:0,transform:"scale(0)"})),i.transition("scale => scaleOut",[i.style({opacity:1,transform:"scale(1)"}),i.animate("400ms ease-in-out")]),i.state("rotate",i.style({opacity:1,transform:"rotate(0deg)"})),i.transition("* => rotate",[i.style({opacity:0,transform:"rotate(5deg)"}),i.animate("400ms ease-in-out")]),i.state("rotateOut",i.style({opacity:0,transform:"rotate(-5deg)"})),i.transition("rotate => rotateOut",[i.style({opacity:1,transform:"rotate(0deg)"}),i.animate("400ms ease-in-out")])])],template:'\n
\n\n
\n
{{item.title}}
\n
{{item.content | max:maxLength}}
\n\n
\n
\n
\n\n
\n \n
\n\n
\n ',styles:["\n .simple-notification {\n width: 100%;\n padding: 10px 20px;\n box-sizing: border-box;\n position: relative;\n float: left;\n margin-bottom: 10px;\n color: #fff;\n cursor: pointer;\n transition: all 0.5s;\n }\n\n .simple-notification .sn-title {\n margin: 0;\n padding: 0 50px 0 0;\n line-height: 30px;\n font-size: 20px;\n }\n\n .simple-notification .sn-content {\n margin: 0;\n font-size: 16px;\n padding: 0 50px 0 0;\n line-height: 20px;\n }\n\n .simple-notification .icon {\n position: absolute;\n box-sizing: border-box;\n top: 0;\n right: 0;\n width: 70px;\n height: 70px;\n padding: 10px;\n }\n\n .simple-notification .icon svg {\n fill: #fff;\n width: 100%;\n height: 100%;\n }\n\n .simple-notification .icon svg g {\n fill: #fff;\n }\n\n .simple-notification.rtl-mode {\n direction: rtl;\n }\n\n .simple-notification.rtl-mode .sn-content {\n padding: 0 0 0 50px;\n }\n\n .simple-notification.rtl-mode svg {\n left: 0;\n right: auto;\n }\n\n .simple-notification.error { background: #F44336; }\n .simple-notification.success { background: #8BC34A; }\n .simple-notification.alert { background: #ffdb5b; }\n .simple-notification.info { background: #03A9F4; }\n .simple-notification.warn { background: #ffdb5b; }\n\n .simple-notification .sn-progress-loader {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 5px;\n }\n\n .simple-notification .sn-progress-loader span {\n float: left;\n height: 100%;\n }\n\n .simple-notification.success .sn-progress-loader span { background: #689F38; }\n .simple-notification.error .sn-progress-loader span { background: #D32F2F; }\n .simple-notification.alert .sn-progress-loader span { background: #edc242; }\n .simple-notification.info .sn-progress-loader span { background: #0288D1; }\n .simple-notification.warn .sn-progress-loader span { background: #edc242; }\n .simple-notification.bare .sn-progress-loader span { background: #ccc; }\n\n .simple-notification.warn div .sn-title { color: #444; }\n .simple-notification.warn div .sn-content { color: #444; }\n "]}]}],a.ctorParameters=function(){return[{type:s.NotificationsService},{type:o.DomSanitizer},{type:r.NgZone}]},a.propDecorators={timeOut:[{type:r.Input}],showProgressBar:[{type:r.Input}],pauseOnHover:[{type:r.Input}],clickToClose:[{type:r.Input}],maxLength:[{type:r.Input}],theClass:[{type:r.Input}],rtl:[{type:r.Input}],animate:[{type:r.Input}],position:[{type:r.Input}],item:[{type:r.Input}]},e.NotificationComponent=a},"znN+":function(t,e,n){"use strict";var r=(n("TyL3"),n("o452"));n.d(e,"v",function(){return r.a}),n.d(e,"p",function(){return r.a});var i=n("CCsT");n.d(e,"u",function(){return i.a}),n.d(e,"o",function(){return i.a});var o=n("KoYm");n.d(e,"t",function(){return o.a});var s=n("0GPq");n.d(e,"s",function(){return s.a});var a=n("DFjt");n.d(e,"d",function(){return a.a});var u=n("VU4Z");n.d(e,"r",function(){return u.a}),n.d(e,"f",function(){return u.a}),n.d(e,"c",function(){return u.b}),n.d(e,"g",function(){return u.c});var c=n("2JWa");n.d(e,"q",function(){return c.a});var l=n("5Ydt");n.d(e,"e",function(){return l.a});var p=n("OPkR");n.d(e,"n",function(){return p.a});var h=n("/q5m");n.d(e,"m",function(){return h.a});var f=n("BNQM");n.d(e,"b",function(){return f.a});var d=n("iaz4");n.d(e,"l",function(){return d.a}),n.d(e,"i",function(){return d.a}),n.d(e,"a",function(){return d.b}),n.d(e,"j",function(){return d.c});var m=n("4psB");n.d(e,"k",function(){return m.a});var y=n("w2Cd");n.d(e,"h",function(){return y.a})},zyXL:function(t,e,n){"use strict";var r=n("Qt4r");e.generate=r.GenerateObservable.create},zzYJ:function(t,e,n){"use strict"}}); \ No newline at end of file diff --git a/ArkBot/WebApp/src/app/admin-server-menu/admin-server-menu.component.html b/ArkBot/WebApp/src/app/admin-server-menu/admin-server-menu.component.html index c2ff99e..37559b0 100644 --- a/ArkBot/WebApp/src/app/admin-server-menu/admin-server-menu.component.html +++ b/ArkBot/WebApp/src/app/admin-server-menu/admin-server-menu.component.html @@ -1,6 +1,6 @@ -

Admin|Server

-
+ +